# HG changeset patch # User Ali Bahrami # Date 1449178049 25200 # Node ID 8af18e2b90ddb5e5683b59ab413b6d06111b49cb # Parent 651acf52b7a349e1551b9edb74ab6a9e8486eeb4 22302820 libxslt build broken by introduction of of ld --version-script diff -r 651acf52b7a3 -r 8af18e2b90dd components/libxslt/patches/configure.in.patch --- a/components/libxslt/patches/configure.in.patch Wed Dec 02 04:42:16 2015 -0800 +++ b/components/libxslt/patches/configure.in.patch Thu Dec 03 14:27:29 2015 -0700 @@ -1,6 +1,28 @@ ---- libxslt-1.1.26/configure.in.orig Mon Mar 21 13:06:53 2011 -+++ libxslt-1.1.26/configure.in Mon Mar 21 13:08:28 2011 -@@ -348,6 +348,10 @@ +Our Userland Makefile replaces the upstream link-editor version script with a +Solaris-specific version 2 mapfile which is incompatible with the +ld --version-script option. Remove the upstream configure test that prefers +to use --version-script if available, and force the use of -M. + +If PYTHON_VENDOR_PACKAGES is defined, set PYTHON_SITE_PACKAGES to the +same value. + +--- libxslt-1.1.28/configure.in.orig 2012-11-21 00:10:58.000000000 -0700 ++++ libxslt-1.1.28/configure.in 2015-12-02 15:32:07.243853314 -0700 +@@ -131,12 +131,8 @@ + dnl then add it + dnl + AC_MSG_CHECKING([how to pass version script to the linker ($LD)]) +-VERSION_SCRIPT_FLAGS=none +-if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then +- VERSION_SCRIPT_FLAGS=-Wl,--version-script= +-elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then + VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," +-fi ++ + AC_MSG_RESULT([$VERSION_SCRIPT_FLAGS]) + AC_SUBST(VERSION_SCRIPT_FLAGS) + AM_CONDITIONAL([USE_VERSION_SCRIPT], [test "$VERSION_SCRIPT_FLAGS" != none]) +@@ -364,6 +360,10 @@ else pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages' fi