rpms/asio/devel asio-ssl.patch,NONE,1.1 asio.spec,1.9,1.10

Dan Horák sharkcz at fedoraproject.org
Fri Jun 18 09:34:37 UTC 2010


Author: sharkcz

Update of /cvs/pkgs/rpms/asio/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv11154

Modified Files:
	asio.spec 
Added Files:
	asio-ssl.patch 
Log Message:
* Fri Jun 18 2010 Dan Horák <dan[at]danny.cz> 1.4.1-3
- fix FTBFS #538893 and #599857 (patch by Petr Machata)


asio-ssl.patch:
 openssl_context_service.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE asio-ssl.patch ---
diff -up asio-1.4.1/include/asio/ssl/detail/openssl_context_service.hpp\~ asio-1.4.1/include/asio/ssl/detail/openssl_context_service.hpp
--- asio-1.4.1/include/asio/ssl/detail/openssl_context_service.hpp~	2009-03-03 03:22:54.000000000 +0100
+++ asio-1.4.1/include/asio/ssl/detail/openssl_context_service.hpp	2010-02-23 15:54:15.000000000 +0100
@@ -66,7 +66,7 @@ public:
   // Create a new context implementation.
   void create(impl_type& impl, context_base::method m)
   {
-    ::SSL_METHOD* ssl_method = 0;
+    const ::SSL_METHOD* ssl_method = 0;
     switch (m)
     {
     case context_base::sslv2:


Index: asio.spec
===================================================================
RCS file: /cvs/pkgs/rpms/asio/devel/asio.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- asio.spec	27 Jul 2009 15:08:05 -0000	1.9
+++ asio.spec	18 Jun 2010 09:34:37 -0000	1.10
@@ -4,9 +4,10 @@
 Summary: A cross-platform C++ library for network programming
 Name: asio
 Version: 1.4.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://sourceforge.net/projects/asio/
 Source0: http://downloads.sourceforge.net/asio/asio-%{version}.tar.gz
+Patch0: asio-ssl.patch
 License: Boost
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -33,6 +34,7 @@ modern C++ approach.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -55,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/asio.hpp
 
 %changelog
+* Fri Jun 18 2010 Dan Horák <dan[at]danny.cz> 1.4.1-3
+- fix FTBFS #538893 and #599857 (patch by Petr Machata)
+
 * Mon Jul 27 2009 Marc Maurer <uwog at uwog.net> 1.4.1-2
 - The tarball is now a gzip archive
 



More information about the scm-commits mailing list