libxml2: update to 2.7.7.

This commit is contained in:
Juan RP 2010-05-20 21:14:33 +02:00
parent 61b7bc81ce
commit 13539cacfb
4 changed files with 4 additions and 27 deletions

View file

@ -5,12 +5,12 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run zlib-devel
Add_dependency run libxml2
do_install()
{
mkdir -p ${DESTDIR}/usr/bin
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/{bin,lib}
mkdir -p ${DESTDIR}/usr/share/doc
mkdir -p ${DESTDIR}/usr/share/man/man1

View file

@ -5,8 +5,6 @@ long_desc="${long_desc}
This package contains ${sourcepkg} python related files."
revision=1
Add_dependency run glibc
Add_dependency run python
Add_dependency run libxml2

View file

@ -1,20 +0,0 @@
--- ./xmlIO.c.orig 2009-09-24 08:32:00.000000000 -0700
+++ ./xmlIO.c 2010-03-17 12:35:00.957293884 -0700
@@ -2518,6 +2518,9 @@
#ifdef HAVE_ZLIB_H
if ((xmlInputCallbackTable[i].opencallback == xmlGzfileOpen) &&
(strcmp(URI, "-") != 0)) {
+#if defined(ZLIB_VERNUM) && ZLIB_VERNUM >= 0x1230
+ ret->compressed = !gzdirect(context);
+#else
if (((z_stream *)context)->avail_in > 4) {
char *cptr, buff4[4];
cptr = (char *) ((z_stream *)context)->next_in;
@@ -2529,6 +2532,7 @@
gzrewind(context);
}
}
+#endif
}
#endif
}

View file

@ -1,12 +1,11 @@
# Template build file for 'libxml2'.
pkgname=libxml2
version=2.7.6
revision=1
version=2.7.7
distfiles="http://xmlsoft.org/sources/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Library providing XML and HTML support"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=238c4f0203c012e5776522640c0fb3ac532c4064981c1ce3e74c00b75501d761
checksum=af5b781418ba4fff556fa43c50086658ea8a2f31909c2b625c2ce913a1d9eb68
long_desc="
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support