From f1fbb772148dcb72b5a619931f3358955469aaa3 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 30 Aug 2017 17:25:05 +0200 Subject: media-gfx/gimp: Fix 2.9.6 gold linking (bug #629300) Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- media-gfx/gimp/files/gimp-2.9.6-underlinking.patch | 20 ++++++++++++++++++++ media-gfx/gimp/gimp-2.9.6.ebuild | 1 + 2 files changed, 21 insertions(+) create mode 100644 media-gfx/gimp/files/gimp-2.9.6-underlinking.patch (limited to 'media-gfx') diff --git a/media-gfx/gimp/files/gimp-2.9.6-underlinking.patch b/media-gfx/gimp/files/gimp-2.9.6-underlinking.patch new file mode 100644 index 000000000000..9208c2f329b3 --- /dev/null +++ b/media-gfx/gimp/files/gimp-2.9.6-underlinking.patch @@ -0,0 +1,20 @@ +diff --git a/libgimpbase/Makefile.am b/libgimpbase/Makefile.am +index a1a6719..85c8518 100644 +--- a/libgimpbase/Makefile.am ++++ b/libgimpbase/Makefile.am +@@ -22,6 +22,7 @@ uninstall-libtool-import-lib: + -rm $(DESTDIR)$(libdir)/libgimpbase-$(GIMP_API_VERSION).dll.a + -rm $(DESTDIR)$(libdir)/gimpbase.def + else ++libm = -lm + install-libtool-import-lib: + uninstall-libtool-import-lib: + endif +@@ -169,6 +170,7 @@ EXTRA_libgimpbase_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpbase_def) + libgimpbase_@GIMP_API_VERSION@_la_LIBADD = \ + $(GIO_LIBS) \ + $(GEXIV2_LIBS) \ ++ $(libm) \ + $(ole32_lib) + + install-data-local: install-ms-lib install-libtool-import-lib diff --git a/media-gfx/gimp/gimp-2.9.6.ebuild b/media-gfx/gimp/gimp-2.9.6.ebuild index a10239d72f38..b0ad56d9c6f0 100644 --- a/media-gfx/gimp/gimp-2.9.6.ebuild +++ b/media-gfx/gimp/gimp-2.9.6.ebuild @@ -89,6 +89,7 @@ pkg_setup() { } src_prepare() { + eapply "${FILESDIR}"/${P}-underlinking.patch # from 629304 eapply_user sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864 -- cgit v1.2.3-65-gdbad