libxml2: add a patch to fix segfaults with yelp and others, from Arch.

This commit is contained in:
Juan RP 2010-10-25 00:02:19 +02:00
parent fdaaba5801
commit bebd669381
2 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -1,6 +1,7 @@
# Template build file for 'libxml2'. # Template build file for 'libxml2'.
pkgname=libxml2 pkgname=libxml2
version=2.7.7 version=2.7.7
revision=1
distfiles="http://xmlsoft.org/sources/$pkgname-$version.tar.gz" distfiles="http://xmlsoft.org/sources/$pkgname-$version.tar.gz"
build_style=gnu_configure build_style=gnu_configure
short_desc="Library providing XML and HTML support" short_desc="Library providing XML and HTML support"