rpms/boost/devel boost-openssl-1.0.patch, NONE, 1.1 boost.spec, 1.64, 1.65

Tomáš Mráz tmraz at fedoraproject.org
Wed Aug 26 09:30:23 UTC 2009


Author: tmraz

Update of /cvs/pkgs/rpms/boost/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20342

Modified Files:
	boost.spec 
Added Files:
	boost-openssl-1.0.patch 
Log Message:
* Wed Aug 26 2009 Tomas Mraz <tmraz at redhat.com> - 1.39.0-5
- Make it to be usable with openssl-1.0


boost-openssl-1.0.patch:
 openssl_context_service.hpp |    4 ++++
 1 file changed, 4 insertions(+)

--- NEW FILE boost-openssl-1.0.patch ---
diff -up boost_1_39_0/boost/asio/ssl/detail/openssl_context_service.hpp.ossl10 boost_1_39_0/boost/asio/ssl/detail/openssl_context_service.hpp
--- boost_1_39_0/boost/asio/ssl/detail/openssl_context_service.hpp.ossl10	2008-08-09 03:59:54.000000000 +0200
+++ boost_1_39_0/boost/asio/ssl/detail/openssl_context_service.hpp	2009-08-26 11:26:25.000000000 +0200
@@ -67,7 +67,11 @@ public:
   // Create a new context implementation.
   void create(impl_type& impl, context_base::method m)
   {
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+    const ::SSL_METHOD* ssl_method = 0;
+#else
     ::SSL_METHOD* ssl_method = 0;
+#endif
     switch (m)
     {
     case context_base::sslv2:


Index: boost.spec
===================================================================
RCS file: /cvs/pkgs/rpms/boost/devel/boost.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -p -r1.64 -r1.65
--- boost.spec	24 Jul 2009 18:20:22 -0000	1.64
+++ boost.spec	26 Aug 2009 09:30:23 -0000	1.65
@@ -1,7 +1,7 @@
 Name: boost
 Summary: The Boost C++ Libraries
 Version: 1.39.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: Boost
 URL: http://www.boost.org/
 Group: System Environment/Libraries
@@ -42,6 +42,7 @@ Patch4: boost-unneccessary_iostreams.pat
 Patch5: boost-bitset.patch
 Patch6: boost-function_template.patch
 Patch7: boost-fs_gcc44.patch
+Patch8: boost-openssl-1.0.patch
 
 %bcond_with tests
 %bcond_with docs_generated
@@ -225,6 +226,7 @@ sed 's/_FEDORA_SONAME/%{sonamever}/' %{P
 %patch5 -p0
 %patch6 -p0
 %patch7 -p0
+%patch8 -p1
 
 %build
 BOOST_ROOT=`pwd`
@@ -436,6 +438,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/*.a
 
 %changelog
+* Wed Aug 26 2009 Tomas Mraz <tmraz at redhat.com> - 1.39.0-5
+- Make it to be usable with openssl-1.0
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.39.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list