office-gobmx/external/libxslt/libxslt-config.patch.1
Michael Stahl e9ea24cc00 libxslt: upgrade to release 1.1.34
Fixes CVE-2019-18197.

Remove obsolete e03553605b45c88f0b4b2980adfbbb8f6fca2fd6.patch.1.

Change-Id: I95cf498e245083528f98bfef8cdd240bbe2211b9
Reviewed-on: https://gerrit.libreoffice.org/83312
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2019-11-21 12:34:34 +01:00

35 lines
835 B
Groff

Hack the xslt-config to return paths into WORKDIR.
--- a/xslt-config.in Wed Jan 17 14:18:26 2007
+++ b/xslt-config.in Wed Jun 25 13:06:05 2008
@@ -1,10 +1,16 @@
#! /bin/sh
-prefix=@prefix@
-exec_prefix=@exec_prefix@
+#prefix=@prefix@
+#exec_prefix=@exec_prefix@
+#exec_prefix_set=no
+#includedir=@includedir@
+#libdir=@libdir@
+
+prefix=${WORKDIR}/UnpackedTarball/libxslt
+exec_prefix=${WORKDIR}/UnpackedTarball/libxslt
exec_prefix_set=no
-includedir=@includedir@
-libdir=@libdir@
+includedir=${WORKDIR}/UnpackedTarball/libxslt
+libdir=${WORKDIR}/UnpackedTarball/libxslt
usage()
{
@@ -92,7 +98,8 @@
libs="@XSLT_LIBDIR@ $libs"
fi
- libs="$libs @EXTRA_LIBS@"
+ #libs="$libs @EXTRA_LIBS@"
+ libs="-L${libdir}/libxslt/.libs -L${libdir}/libexslt/.libs -lxslt -lm"
;;
*)