rpms/boost/devel boost-1.41.0-shared_ptr_serialization.patch, NONE, 1.1 boost.spec, 1.76, 1.77

Petr Machata pmachata at fedoraproject.org
Mon Feb 22 13:26:52 UTC 2010


Author: pmachata

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

Modified Files:
	boost.spec 
Added Files:
	boost-1.41.0-shared_ptr_serialization.patch 
Log Message:
- Add a patch for serialization of shared pointers to non polymorphic
  types


boost-1.41.0-shared_ptr_serialization.patch:
 shared_ptr_helper.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE boost-1.41.0-shared_ptr_serialization.patch ---
diff -up /home/petr/fedora/boost/devel/boost-1.41.0.cmake0/boost/archive/shared_ptr_helper.hpp\~ /home/petr/fedora/boost/devel/boost-1.41.0.cmake0/boost/archive/shared_ptr_helper.hpp
--- boost-1.41.0.cmake0/boost/archive/shared_ptr_helper.hpp~	2009-12-17 20:51:55.000000000 +0100
+++ boost-1.41.0.cmake0/boost/archive/shared_ptr_helper.hpp	2010-02-22 14:13:18.000000000 +0100
@@ -108,7 +108,7 @@ public:
     struct non_polymorphic {
         static const boost::serialization::extended_type_info * 
         get_object_identifier(T & t){
-            return boost::serialization::singleton<
+            return &boost::serialization::singleton<
                 BOOST_DEDUCED_TYPENAME 
                 boost::serialization::type_info_implementation<T>::type
             >::get_const_instance();

Diff finished.  Mon Feb 22 14:13:38 2010


Index: boost.spec
===================================================================
RCS file: /cvs/pkgs/rpms/boost/devel/boost.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -p -r1.76 -r1.77
--- boost.spec	2 Feb 2010 16:16:24 -0000	1.76
+++ boost.spec	22 Feb 2010 13:26:52 -0000	1.77
@@ -17,7 +17,7 @@
 Name: boost
 Summary: The free peer-reviewed portable C++ source libraries
 Version: 1.41.0
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: Boost
 URL: http://sodium.resophonic.com/boost-cmake/%{version}.cmake0/
 Group: System Environment/Libraries
@@ -67,6 +67,7 @@ BuildRequires: chrpath
 Patch0: boost-cmake-soname.patch
 Patch1: boost-graph-compile.patch
 Patch2: boost-1.41.0-mapnik.patch
+Patch3: boost-1.41.0-shared_ptr_serialization.patch
 
 %bcond_with tests
 %bcond_with docs_generated
@@ -356,6 +357,7 @@ backend to do the parallel work.
 sed 's/_FEDORA_SONAME/%{sonamever}/' %{PATCH0} | %{__patch} -p0 --fuzz=0
 %patch1 -p0
 %patch2 -p0
+%patch3 -p1
 
 %build
 # Support for building tests.
@@ -721,6 +723,10 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -
 %endif
 
 %changelog
+* Mon Feb 22 2010 Petr Machata <pmachata at redhat.com> - 1.41.0-7
+- Add a patch for serialization of shared pointers to non polymorphic
+  types
+
 * Tue Feb  2 2010 Petr Machata <pmachata at redhat.com> - 1.41.0-6
 - More subpackage interdependency adjustments
   - boost doesn't bring in the MPI stuff.  Instead, $MPI-devel does.



More information about the scm-commits mailing list