rpms/boost/F-13 boost-1.41.0-iostreams-zlib.patch, NONE, 1.1 boost.spec, 1.77, 1.78

Petr Machata pmachata at fedoraproject.org
Thu May 13 16:59:53 UTC 2010


Author: pmachata

Update of /cvs/pkgs/rpms/boost/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20482

Modified Files:
	boost.spec 
Added Files:
	boost-1.41.0-iostreams-zlib.patch 
Log Message:
- Add an upstream patch that fixes computation of CRC in zlib streams.
- Resolves: #590205


boost-1.41.0-iostreams-zlib.patch:
 zlib.hpp |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

--- NEW FILE boost-1.41.0-iostreams-zlib.patch ---
Index: /trunk/boost/iostreams/filter/zlib.hpp
===================================================================
--- /trunk/boost/iostreams/filter/zlib.hpp	(revision 45783)
+++ /trunk/boost/iostreams/filter/zlib.hpp	(revision 57610)
@@ -21,4 +21,5 @@
 #include <new>          
 #include <boost/config.hpp>  // MSVC, STATIC_CONSTANT, DEDUCED_TYPENAME, DINKUM.
+#include <boost/cstdint.hpp> // uint*_t
 #include <boost/detail/workaround.hpp>
 #include <boost/iostreams/constants.hpp>   // buffer size.
@@ -44,7 +45,7 @@
                     // Typedefs
 
-typedef unsigned int uint;
-typedef unsigned char byte;
-typedef unsigned long ulong;
+typedef uint32_t uint;
+typedef uint8_t byte;
+typedef uint32_t ulong;
 
 // Prefix 'x' prevents symbols from being redefined when Z_PREFIX is defined


Index: boost.spec
===================================================================
RCS file: /cvs/pkgs/rpms/boost/F-13/boost.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -p -r1.77 -r1.78
--- boost.spec	22 Feb 2010 13:32:44 -0000	1.77
+++ boost.spec	13 May 2010 16:59:53 -0000	1.78
@@ -17,7 +17,7 @@
 Name: boost
 Summary: The free peer-reviewed portable C++ source libraries
 Version: 1.41.0
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: Boost
 URL: http://sodium.resophonic.com/boost-cmake/%{version}.cmake0/
 Group: System Environment/Libraries
@@ -68,6 +68,7 @@ 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
+Patch4: boost-1.41.0-iostreams-zlib.patch
 
 %bcond_with tests
 %bcond_with docs_generated
@@ -358,6 +359,7 @@ sed 's/_FEDORA_SONAME/%{sonamever}/' %{P
 %patch1 -p0
 %patch2 -p0
 %patch3 -p1
+%patch4 -p2
 
 %build
 # Support for building tests.
@@ -723,6 +725,10 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -
 %endif
 
 %changelog
+* Tue May 11 2010 Petr Machata <pmachata at redhat.com> - 1.41.0-8
+- Add an upstream patch that fixes computation of CRC in zlib streams.
+- Resolves: #590205
+
 * 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



More information about the scm-commits mailing list