summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-05-09 08:34:43 +0200
committerAndras Timar <andras.timar@collabora.com>2023-05-13 20:05:32 +0200
commit2ef63bae02a26ae29f02ee2f730229c07d6422fd (patch)
tree5ca9bd2694130104d98156f05c5ce9d85f5b9e72 /external
parentff7a0927e7f42e1007c93d13cfd84b46c25dc385 (diff)
Reinstate external/libwpg/rpath.patch
...which 0c0c9a0dd8a7b102315ab1075f78a0f1f3397b67 "tdf#155057: Wrong colors in some WPG2 (well rendered in WPG1)" had dropped for no apparent reason, causing > [CHK] CustomTarget/postprocess/check_dynamic_objects/check.done > ~/lo/core/instdir/program/libwpg-0.3-lo.so.3 has unexpected RPATH 0x000000000000001d (RUNPATH) Library runpath: [~/lo/core/workdir/UnpackedTarball/libwpd/src/lib/.libs:~/lo/core/workdir/UnpackedTarball/librevenge/src/lib/.libs:/usr/local/lib:$ORIGIN] to fail (in Linux builds that execute that test) Change-Id: Id9f87b14f571b328b98496625351bc1f87bf8c61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151555 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit edf471ba8b5a69ce26e68eff26283b304c4c9a9e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151518 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'external')
-rw-r--r--external/libwpg/UnpackedTarball_libwpg.mk4
-rw-r--r--external/libwpg/rpath.patch10
2 files changed, 14 insertions, 0 deletions
diff --git a/external/libwpg/UnpackedTarball_libwpg.mk b/external/libwpg/UnpackedTarball_libwpg.mk
index e3790c831296..9ca55c669d72 100644
--- a/external/libwpg/UnpackedTarball_libwpg.mk
+++ b/external/libwpg/UnpackedTarball_libwpg.mk
@@ -15,6 +15,10 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libwpg,0))
$(eval $(call gb_UnpackedTarball_update_autoconf_configs,libwpg))
+$(eval $(call gb_UnpackedTarball_add_patches,libwpg, \
+ external/libwpg/rpath.patch \
+))
+
ifneq ($(OS),MACOSX)
ifneq ($(OS),WNT)
ifneq ($(OS),iOS)
diff --git a/external/libwpg/rpath.patch b/external/libwpg/rpath.patch
new file mode 100644
index 000000000000..5a8f56105509
--- /dev/null
+++ b/external/libwpg/rpath.patch
@@ -0,0 +1,10 @@
+--- configure
++++ configure
+@@ -13858,6 +13858,7 @@
+ esac
+ ;;
+ esac
++hardcode_libdir_flag_spec_CXX=
+ ;;
+
+ lynxos*)