summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-11-30 17:52:00 +0000
committerMarkus Meier <maekke@gentoo.org>2008-11-30 17:52:00 +0000
commit31099d5403d3716e4abd641b0bf7ff12ccdd4ddc (patch)
tree59b10164433d3307e4fdaaeb562d49210d99edf2 /media-gfx/gimmage
parentFix wrong path levels in patch, bug #247826 (diff)
downloadgentoo-2-31099d5403d3716e4abd641b0bf7ff12ccdd4ddc.tar.gz
gentoo-2-31099d5403d3716e4abd641b0bf7ff12ccdd4ddc.tar.bz2
gentoo-2-31099d5403d3716e4abd641b0bf7ff12ccdd4ddc.zip
fix building with forced as-needed, bug #247727
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.28-rc6 i686)
Diffstat (limited to 'media-gfx/gimmage')
-rw-r--r--media-gfx/gimmage/ChangeLog6
-rw-r--r--media-gfx/gimmage/files/gimmage-0.2.3-as-needed.patch11
-rw-r--r--media-gfx/gimmage/gimmage-0.2.3.ebuild6
3 files changed, 20 insertions, 3 deletions
diff --git a/media-gfx/gimmage/ChangeLog b/media-gfx/gimmage/ChangeLog
index 65fcd5389d7e..6b830c2115e9 100644
--- a/media-gfx/gimmage/ChangeLog
+++ b/media-gfx/gimmage/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/gimmage
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/ChangeLog,v 1.11 2008/10/08 18:55:16 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/ChangeLog,v 1.12 2008/11/30 17:51:59 maekke Exp $
+
+ 30 Nov 2008; Markus Meier <maekke@gentoo.org>
+ +files/gimmage-0.2.3-as-needed.patch, gimmage-0.2.3.ebuild:
+ fix building with forced as-needed, bug #247727
08 Oct 2008; Markus Meier <maekke@gentoo.org>
+files/gimmage-0.2.3-gcc43.patch, gimmage-0.2.3.ebuild:
diff --git a/media-gfx/gimmage/files/gimmage-0.2.3-as-needed.patch b/media-gfx/gimmage/files/gimmage-0.2.3-as-needed.patch
new file mode 100644
index 000000000000..2e24078bd85d
--- /dev/null
+++ b/media-gfx/gimmage/files/gimmage-0.2.3-as-needed.patch
@@ -0,0 +1,11 @@
+diff -ru gimmage-0.2.3.orig/src/Makefile.am gimmage-0.2.3/src/Makefile.am
+--- gimmage-0.2.3.orig/src/Makefile.am 2008-11-30 18:43:28.000000000 +0100
++++ gimmage-0.2.3/src/Makefile.am 2008-11-30 18:43:40.000000000 +0100
+@@ -7,5 +7,5 @@
+ SaveErrorDialog.cpp SaveErrorDialog.h \
+ main.cpp defines.h
+
+-AM_CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) -lcurl -lmagic
+-LDADD = $(DEPS_LIBS)
++AM_CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS)
++LDADD = $(DEPS_LIBS) -lcurl -lmagic
diff --git a/media-gfx/gimmage/gimmage-0.2.3.ebuild b/media-gfx/gimmage/gimmage-0.2.3.ebuild
index 2b843ab0c634..5951000ef6b3 100644
--- a/media-gfx/gimmage/gimmage-0.2.3.ebuild
+++ b/media-gfx/gimmage/gimmage-0.2.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/gimmage-0.2.3.ebuild,v 1.5 2008/10/08 18:55:16 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/gimmage-0.2.3.ebuild,v 1.6 2008/11/30 17:51:59 maekke Exp $
-inherit eutils
+inherit eutils autotools
DESCRIPTION="A slim GTK-based image browser"
HOMEPAGE="http://gimmage.berlios.de/"
@@ -25,6 +25,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc43.patch
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ eautoreconf
}
src_compile() {