summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-01-28 07:38:23 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-01-28 07:38:23 +0000
commitf8131b80585cbd5967987e6941ba5a13899b22de (patch)
tree49660f173b60bfb6f30a09bc10530190ab3324d4 /media-gfx/gimageview
parentDon't unconditionally depend on perl (bug #493240) (diff)
downloadgentoo-2-f8131b80585cbd5967987e6941ba5a13899b22de.tar.gz
gentoo-2-f8131b80585cbd5967987e6941ba5a13899b22de.tar.bz2
gentoo-2-f8131b80585cbd5967987e6941ba5a13899b22de.zip
Link the gimv executable against mathlib for floor() and pow() wrt #417995 by SN (Enlik)
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-gfx/gimageview')
-rw-r--r--media-gfx/gimageview/ChangeLog10
-rw-r--r--media-gfx/gimageview/gimageview-0.2.27-r3.ebuild7
2 files changed, 12 insertions, 5 deletions
diff --git a/media-gfx/gimageview/ChangeLog b/media-gfx/gimageview/ChangeLog
index ba47e1b7cea8..dff84a7ce452 100644
--- a/media-gfx/gimageview/ChangeLog
+++ b/media-gfx/gimageview/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/gimageview
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimageview/ChangeLog,v 1.32 2012/05/05 07:00:22 jdhore Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimageview/ChangeLog,v 1.33 2014/01/28 07:38:23 ssuominen Exp $
+
+ 28 Jan 2014; Samuli Suominen <ssuominen@gentoo.org>
+ gimageview-0.2.27-r3.ebuild:
+ Link the gimv executable against mathlib for floor() and pow() wrt #417995 by
+ SN (Enlik)
05 May 2012; Jeff Horelick <jdhore@gentoo.org> gimageview-0.2.27-r3.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
@@ -127,4 +132,3 @@
Initial import. Thanks to Sadayuki Kobayashi <desperado@s17.xrea.com>,
MATSUU Takuto <matsuu@gentoo.org> and Lindsay Holmwood
<holmwoodl@iinet.net.au>. Bug #21066
-
diff --git a/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild b/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild
index 5bcc85ac10a9..ae5815c40de3 100644
--- a/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild
+++ b/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild,v 1.4 2012/05/05 07:00:22 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild,v 1.5 2014/01/28 07:38:23 ssuominen Exp $
# TODO: USE xine could be restored if support for xine-lib-1.2.x
# is patched in wrt #397639
@@ -31,6 +31,9 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
+ # link gimv executable against -lm for floor() and pow()
+ sed -i -e 's/$(gimv_LDADD)/& -lm/' src/Makefile.in || die #417995
+
epatch \
"${FILESDIR}"/${P}-sort_fix.diff \
"${FILESDIR}"/${P}-gtk12_fix.diff \