libxml2 breakage after upgrade to libxml2-2.7.8
Christoph Moench-Tegeder
cmt at burggraben.net
Sat Nov 27 14:40:13 UTC 2010
## Andrey Ponomarenko (aponomarenko at ispras.ru):
> > After today's upgrade to libxml2-2.7.8, a lot of programs linking against
> > libxml2 fail to start, as the new libxml2 dows not contain the LIBXML2_*
> > symbols anymore (libxml2-2.7.7 did).
>
> There is a broken version script in libxml2-2.7.8. It was already fixed
> in Git [1] from 2010-11-04. The detailed breakage report is here [2].
Thanks for spotting that one. I just submitted a PR (which is still stuck
in greylisting) with the following patch:
--- files/patch-configure.orig 2010-11-27 15:26:16.000000000 +0100
+++ files/patch-configure 2010-11-27 15:26:39.000000000 +0100
@@ -1,6 +1,15 @@
---- configure.orig 2010-03-20 17:52:35.000000000 -0400
-+++ configure 2010-03-20 17:52:35.000000000 -0400
-@@ -19865,11 +19865,12 @@ fi
+--- configure.orig 2010-11-27 15:23:22.000000000 +0100
++++ configure 2010-11-27 15:25:43.000000000 +0100
+@@ -11414,7 +11414,7 @@
+ esac
+ fi
+
+- if test -z "$VERSION_SCRIPT_FLAGS"; then
++ if test -n "$VERSION_SCRIPT_FLAGS"; then
+ USE_VERSION_SCRIPT_TRUE=
+ USE_VERSION_SCRIPT_FALSE='#'
+ else
+@@ -13501,11 +13501,12 @@
fi
if test "$PYTHON_VERSION" != ""
then
@@ -14,7 +23,7 @@
else
if test -r $prefix/include/python$PYTHON_VERSION/Python.h
then
-@@ -20678,6 +20679,8 @@ fi
+@@ -13901,6 +13902,8 @@
fi
fi
;;
This fixes the problem for me.
Regards,
Christoph
--
Spare Space
More information about the freebsd-ports
mailing list