diff options
-rw-r--r-- | media-gfx/pqiv/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/pqiv/files/pqiv-0.7.1-as-needed.patch | 14 | ||||
-rw-r--r-- | media-gfx/pqiv/pqiv-0.7.1.ebuild | 10 |
3 files changed, 27 insertions, 3 deletions
diff --git a/media-gfx/pqiv/ChangeLog b/media-gfx/pqiv/ChangeLog index 84fd4cf1a97f..26175f3c8f1d 100644 --- a/media-gfx/pqiv/ChangeLog +++ b/media-gfx/pqiv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/pqiv # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/ChangeLog,v 1.13 2008/06/12 17:55:39 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/ChangeLog,v 1.14 2008/11/30 18:15:40 maekke Exp $ + + 30 Nov 2008; Markus Meier <maekke@gentoo.org> + +files/pqiv-0.7.1-as-needed.patch, pqiv-0.7.1.ebuild: + fix building with forced as-needed, bug #247735 12 Jun 2008; Raúl Porcel <armin76@gentoo.org> pqiv-0.7.1.ebuild: x86 stable diff --git a/media-gfx/pqiv/files/pqiv-0.7.1-as-needed.patch b/media-gfx/pqiv/files/pqiv-0.7.1-as-needed.patch new file mode 100644 index 000000000000..f40a1bb971d6 --- /dev/null +++ b/media-gfx/pqiv/files/pqiv-0.7.1-as-needed.patch @@ -0,0 +1,14 @@ +diff -ru pqiv-0.7.1.orig/Makefile pqiv-0.7.1/Makefile +--- pqiv-0.7.1.orig/Makefile 2008-11-30 19:07:53.000000000 +0100 ++++ pqiv-0.7.1/Makefile 2008-11-30 19:08:49.000000000 +0100 +@@ -13,7 +13,7 @@ + # pqiv + all: pqiv manpage + pqiv: +- $(CC) $(CFLAGS) `pkg-config --libs --cflags $(REQUIRED_PACKAGES)` -o qiv $(OPTIONFLAGS) pqiv.c ++ $(CC) $(CFLAGS) `pkg-config --cflags $(REQUIRED_PACKAGES)` $(OPTIONFLAGS) pqiv.c `pkg-config --libs $(REQUIRED_PACKAGES)` -o qiv + debug: + $(CC) $(CGLAGS) -Wall -ggdb -DDEBUG `pkg-config --libs --cflags $(REQUIRED_PACKAGES)` $(OPTIONFLAGS) -o qiv pqiv.c + +Only in pqiv-0.7.1: qiv +Only in pqiv-0.7.1: qiv.1 diff --git a/media-gfx/pqiv/pqiv-0.7.1.ebuild b/media-gfx/pqiv/pqiv-0.7.1.ebuild index 51cb295bf8b4..c8d16d52bb32 100644 --- a/media-gfx/pqiv/pqiv-0.7.1.ebuild +++ b/media-gfx/pqiv/pqiv-0.7.1.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/pqiv/pqiv-0.7.1.ebuild,v 1.3 2008/06/12 17:55:39 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/pqiv-0.7.1.ebuild,v 1.4 2008/11/30 18:15:40 maekke Exp $ -inherit toolchain-funcs +inherit toolchain-funcs eutils DESCRIPTION="Modern rewrite of Quick Image Viewer" HOMEPAGE="http://www.pberndt.com/Programme/Linux/pqiv" @@ -17,6 +17,12 @@ RDEPEND=">=x11-libs/gtk+-2.8" DEPEND="${RDEPEND} dev-util/pkgconfig" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-as-needed.patch +} + src_compile() { tc-export CC emake || die "emake failed." |