summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac.paragon@gmail.com>2021-10-10 10:15:53 +0300
committerSam James <sam@gentoo.org>2021-10-20 01:46:05 +0000
commit345630239813968d48dc235350372a750005c071 (patch)
tree7be3af3c6f6cdd88f417813002eacecb188233a1 /media-gfx/xpaint/files
parentdev-util/kbuild: workaround build failure with Bison 3.7 (diff)
downloadgentoo-345630239813968d48dc235350372a750005c071.tar.gz
gentoo-345630239813968d48dc235350372a750005c071.tar.bz2
gentoo-345630239813968d48dc235350372a750005c071.zip
media-gfx/xpaint: add v3.1.4
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22538 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/xpaint/files')
-rw-r--r--media-gfx/xpaint/files/xpaint-3.1.4-gentoo-shared-lib.patch15
1 files changed, 15 insertions, 0 deletions
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: