aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxml2/largefile64.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-30 16:00:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-30 16:00:41 +0000
commit079d11998b9a2998a4f603e238f37d3559ce673c (patch)
treee2cc284e13a5c505dc8521598d545e57f30e13bc /main/libxml2/largefile64.patch
parentd4152a1f83590fbed81dbc45d7d54a8ed7ad9fc0 (diff)
downloadaports-079d11998b9a2998a4f603e238f37d3559ce673c.tar.bz2
aports-079d11998b9a2998a4f603e238f37d3559ce673c.tar.xz
main/libxml2: patch abuse of zlib API
Diffstat (limited to 'main/libxml2/largefile64.patch')
-rw-r--r--main/libxml2/largefile64.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/libxml2/largefile64.patch b/main/libxml2/largefile64.patch
new file mode 100644
index 0000000000..29be82760f
--- /dev/null
+++ b/main/libxml2/largefile64.patch
@@ -0,0 +1,12 @@
+--- libxml2-2.6.32.dfsg.orig/libxml.h
++++ libxml2-2.6.32.dfsg/libxml.h
+@@ -13,6 +13,9 @@
+ #ifndef _LARGEFILE_SOURCE
+ #define _LARGEFILE_SOURCE
+ #endif
++#ifndef _LARGEFILE64_SOURCE
++#define _LARGEFILE64_SOURCE
++#endif
+ #ifndef _FILE_OFFSET_BITS
+ #define _FILE_OFFSET_BITS 64
+ #endif