From 345630239813968d48dc235350372a750005c071 Mon Sep 17 00:00:00 2001 From: Viorel Munteanu Date: Sun, 10 Oct 2021 10:15:53 +0300 Subject: media-gfx/xpaint: add v3.1.4 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Viorel Munteanu Closes: https://github.com/gentoo/gentoo/pull/22538 Signed-off-by: Sam James --- .../xpaint/files/xpaint-3.1.4-gentoo-shared-lib.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 media-gfx/xpaint/files/xpaint-3.1.4-gentoo-shared-lib.patch (limited to 'media-gfx/xpaint/files') diff --git a/media-gfx/xpaint/files/xpaint-3.1.4-gentoo-shared-lib.patch b/media-gfx/xpaint/files/xpaint-3.1.4-gentoo-shared-lib.patch new file mode 100644 index 000000000000..b05500ea6f75 --- /dev/null +++ b/media-gfx/xpaint/files/xpaint-3.1.4-gentoo-shared-lib.patch @@ -0,0 +1,15 @@ +xpaint was compiling and installing a shared library but it was not using it, linking with the static one instead +This patch attempts to link with libxpaintrw.so instead +So we can pass --disable-static to configure + +--- a/Makefile.am ++++ b/Makefile.am +@@ -79,7 +79,7 @@ + + xpaint_SOURCES = $(BASE_HDRS) $(BASE_SRCS) + +-xpaint_LDADD = xpaintrw/.libs/libxpaintrw.a @X_LIBS@ @X_LIBS_EXTRA@ ++xpaint_LDADD = -Lxpaintrw/.libs -lxpaintrw @X_LIBS@ @X_LIBS_EXTRA@ + + docs: INSTALL README TODO ChangeLog + .PHONY: -- cgit v1.2.3-65-gdbad