diff options
author | Sebastian Pipping <sping@gentoo.org> | 2017-08-30 17:25:05 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2017-08-30 17:25:29 +0200 |
commit | f1fbb772148dcb72b5a619931f3358955469aaa3 (patch) | |
tree | 69a94395b363888f3070e443723c78f5f6380399 /media-gfx | |
parent | app-eselect/eselect-opencl: use ${ED} for prefix compatibility (diff) | |
download | gentoo-f1fbb772148dcb72b5a619931f3358955469aaa3.tar.gz gentoo-f1fbb772148dcb72b5a619931f3358955469aaa3.tar.bz2 gentoo-f1fbb772148dcb72b5a619931f3358955469aaa3.zip |
media-gfx/gimp: Fix 2.9.6 gold linking (bug #629300)
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gimp/files/gimp-2.9.6-underlinking.patch | 20 | ||||
-rw-r--r-- | media-gfx/gimp/gimp-2.9.6.ebuild | 1 |
2 files changed, 21 insertions, 0 deletions
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 |