]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
zlib: Added patch for building suricata whith 1.2.5
authorChristian Schmidt <christian.schmidt@iipfire.org>
Thu, 27 Oct 2011 19:53:09 +0000 (21:53 +0200)
committerChristian Schmidt <christian.schmidt@iipfire.org>
Thu, 27 Oct 2011 19:53:09 +0000 (21:53 +0200)
zlib/patches/zlib-1.2.5-gentoo.patch [new file with mode: 0644]
zlib/zlib.nm

diff --git a/zlib/patches/zlib-1.2.5-gentoo.patch b/zlib/patches/zlib-1.2.5-gentoo.patch
new file mode 100644 (file)
index 0000000..82c7f39
--- /dev/null
@@ -0,0 +1,12 @@
+diff -up zlib-1.2.5/zlib.h.pom zlib-1.2.5/zlib.h
+--- zlib-1.2.5/zlib.h.pom      2010-04-20 06:12:48.000000000 +0200
++++ zlib-1.2.5/zlib.h  2010-06-16 13:08:59.000000000 +0200
+@@ -1578,7 +1578,7 @@ ZEXTERN int ZEXPORT inflateBackInit_ OF(
+ #  define gzoffset gzoffset64
+ #  define adler32_combine adler32_combine64
+ #  define crc32_combine crc32_combine64
+-#  ifdef _LARGEFILE64_SOURCE
++#  ifndef _LARGEFILE64_SOURCE
+      ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
+      ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
+      ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));
index f1611f4358224b569801510f88239cd676b56bd8..a1bafc20cd433debb6ccda22db5514863aba405b 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = zlib
 version    = 1.2.5
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.gzip.org/zlib/