]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - boost/patches/boost-1.41.0-iostreams-zlib.patch
Move all packages to root.
[people/amarx/ipfire-3.x.git] / boost / patches / boost-1.41.0-iostreams-zlib.patch
diff --git a/boost/patches/boost-1.41.0-iostreams-zlib.patch b/boost/patches/boost-1.41.0-iostreams-zlib.patch
new file mode 100644 (file)
index 0000000..09b900c
--- /dev/null
@@ -0,0 +1,21 @@
+Index: /trunk/boost/iostreams/filter/zlib.hpp
+===================================================================
+--- a/boost/iostreams/filter/zlib.hpp  (revision 45783)
++++ b/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