libxml2 knows too much about zlib's internals. With the upcoming update, it would break. I'm thinking about making the -STABLE zlib use a different ABI but the real fix is to use gzdirect() instead of twiddling with zlib internal bits. How-To-Repeat: Update base system zlib to 1.2.4 and everything using libxml2 to read configuration would be broken.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-gnome Over to maintainer.
Approved! If you took the patch from somewhere (saw similar patch in its mailing list), please give a credit. Thanks! Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
delphij 2010-03-17 21:06:18 UTC FreeBSD ports repository Modified files: textproc/libxml2 Makefile Added files: textproc/libxml2/files patch-xmlIO.c Log: libxml2 knows too much about zlib internals. Beginning from zlib 1.2.2.3 the zlib authors has provided a 'gzdirect' function to detect whether the current gzFile descriptor is still providing a stream from uncompression, so use it instead of rolling own. The upcoming zlib 1.2.4 update will break the current libxml2 usage. Patch was the same as Mark Adler provided to libxml2 maintainers at: http://osdir.com/ml/svn-commits-list/2010-01/msg05723.html PR: ports/144828 Approved by: mezz (freebsd-gnome@) Revision Changes Path 1.163 +1 -1 ports/textproc/libxml2/Makefile 1.3 +20 -0 ports/textproc/libxml2/files/patch-xmlIO.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Patch applied against CVS -HEAD.
Responsible Changed From-To: freebsd-gnome->delphij I have committed the patch.