rpms/boost/F-11 boost-fs_gcc44.patch,NONE,1.1 boost.spec,1.59,1.60

Petr Machata pmachata at fedoraproject.org
Fri Jul 3 12:38:31 UTC 2009


Author: pmachata

Update of /cvs/pkgs/rpms/boost/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17822

Modified Files:
	boost.spec 
Added Files:
	boost-fs_gcc44.patch 
Log Message:
- Add upstream patch to make boost_filesystem compatible with C++0x.
- Resolves: #509250


boost-fs_gcc44.patch:

--- NEW FILE boost-fs_gcc44.patch ---
Index: boost/filesystem/operations.hpp
===================================================================
--- boost/filesystem/operations.hpp	(revision 52859)
+++ boost/filesystem/operations.hpp	(working copy)
@@ -659,9 +659,9 @@
       { return is_symlink<wpath>( ph ); }
 
     inline bool is_empty( const path & ph )
-      { return is_empty<path>( ph ); }
+      { return boost::filesystem::is_empty<path>( ph ); }
     inline bool is_empty( const wpath & ph )
-      { return is_empty<wpath>( ph ); }
+      { return boost::filesystem::is_empty<wpath>( ph ); }
 
     inline bool equivalent( const path & ph1, const path & ph2 )
       { return equivalent<path>( ph1, ph2 ); }


Index: boost.spec
===================================================================
RCS file: /cvs/pkgs/rpms/boost/F-11/boost.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -p -r1.59 -r1.60
--- boost.spec	23 Mar 2009 14:27:08 -0000	1.59
+++ boost.spec	3 Jul 2009 12:38:00 -0000	1.60
@@ -4,7 +4,7 @@
 Name: boost
 Summary: The Boost C++ Libraries
 Version: 1.37.0
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: Boost
 URL: http://www.boost.org/
 Group: System Environment/Libraries
@@ -30,6 +30,7 @@ Patch5: boost-function_template.patch
 Patch6: boost-unneccessary_iostreams.patch
 Patch7: boost-1_37_0-smp.patch
 Patch8: boost-bitset.patch
+Patch9: boost-fs_gcc44.patch
 
 %description
 Boost provides free peer-reviewed portable C++ source libraries.  The
@@ -78,6 +79,7 @@ sed 's/!!!SONAME!!!/%{sonamever}/' %{PAT
 %patch6 -p0
 sed 's/!!!SMP_FLAGS!!!/%{?_smp_mflags}/' %{PATCH7} | %{__patch} -p1 --fuzz=0
 %patch8 -p1
+%patch9 -p0
 
 %build
 BOOST_ROOT=`pwd`
@@ -210,6 +212,10 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{_docdir}/%{name}-%{version}
 
 %changelog
+* Fri Jul  3 2009 Petr Machata <pmachata at redhat.com> - 1.37.0-7
+- Add upstream patch to make boost_filesystem compatible with C++0x.
+- Resolves: #509250
+
 * Mon Mar 23 2009 Petr Machata <pmachata at redhat.com> - 1.37.0-6
 - Apply a SMP patch from Stefan Ring
 - Apply a workaround for "cannot appear in a constant-expression" in




More information about the fedora-extras-commits mailing list