diff --git a/srcpkgs/libxml2/patches/largefile64.patch b/srcpkgs/libxml2/patches/largefile64.patch new file mode 100644 index 0000000000..b2d32e5c8c --- /dev/null +++ b/srcpkgs/libxml2/patches/largefile64.patch @@ -0,0 +1,12 @@ +--- libxml.h.orig ++++ 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 diff --git a/srcpkgs/libxml2/template b/srcpkgs/libxml2/template index 2171fa660d..f81f753d89 100644 --- a/srcpkgs/libxml2/template +++ b/srcpkgs/libxml2/template @@ -1,6 +1,7 @@ # Template build file for 'libxml2'. pkgname=libxml2 version=2.7.7 +revision=1 distfiles="http://xmlsoft.org/sources/$pkgname-$version.tar.gz" build_style=gnu_configure short_desc="Library providing XML and HTML support"