diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2015-02-06 05:33:40 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2015-02-06 05:33:40 +0000 |
commit | d061f6e9ca5208707e9cc59c6e66b1aa9ffc7d53 (patch) | |
tree | 682fd6e8206c06c0f6afc14aa27e8bff28c6b8e5 /games-misc | |
parent | Bump (diff) | |
download | gentoo-2-d061f6e9ca5208707e9cc59c6e66b1aa9ffc7d53.tar.gz gentoo-2-d061f6e9ca5208707e9cc59c6e66b1aa9ffc7d53.tar.bz2 gentoo-2-d061f6e9ca5208707e9cc59c6e66b1aa9ffc7d53.zip |
Fix underlink
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/gpe-julia/ChangeLog | 7 | ||||
-rw-r--r-- | games-misc/gpe-julia/files/gpe-julia-0.0.6-underlink.patch | 11 | ||||
-rw-r--r-- | games-misc/gpe-julia/gpe-julia-0.0.6.ebuild | 11 |
3 files changed, 23 insertions, 6 deletions
diff --git a/games-misc/gpe-julia/ChangeLog b/games-misc/gpe-julia/ChangeLog index a24a38811dca..4a4e28c885a2 100644 --- a/games-misc/gpe-julia/ChangeLog +++ b/games-misc/gpe-julia/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-misc/gpe-julia -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/gpe-julia/ChangeLog,v 1.2 2009/07/27 15:26:51 miknix Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/gpe-julia/ChangeLog,v 1.3 2015/02/06 05:33:40 tupone Exp $ + + 05 Feb 2015; Tupone Alfredo <tupone@gentoo.org> gpe-julia-0.0.6.ebuild: + Fix underlink 27 Jul 2009; Angelo Arrifano <miknix@gentoo.org> gpe-julia-0.0.6.ebuild: Add die statements for sed, remove unneeded $IUSE diff --git a/games-misc/gpe-julia/files/gpe-julia-0.0.6-underlink.patch b/games-misc/gpe-julia/files/gpe-julia-0.0.6-underlink.patch new file mode 100644 index 000000000000..1144b37bbba8 --- /dev/null +++ b/games-misc/gpe-julia/files/gpe-julia-0.0.6-underlink.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2015-02-06 06:27:15.967478075 +0100 ++++ Makefile 2015-02-06 06:27:27.981241690 +0100 +@@ -15,7 +15,7 @@ + PACKAGE_CPPFLAGS += $(STANDARD_CPPFLAGS) -DENABLE_NLS + PACKAGE_CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" + PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GPECFLAGS) +-PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(GPELIBS) ++PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(GPELIBS) -lm + + OBJS = $(patsubst %,%.o,$(MEMBERS)) + SOURCES = $(patsubst %,%.c,$(MEMBERS)) diff --git a/games-misc/gpe-julia/gpe-julia-0.0.6.ebuild b/games-misc/gpe-julia/gpe-julia-0.0.6.ebuild index 867e91801979..38c3cc678140 100644 --- a/games-misc/gpe-julia/gpe-julia-0.0.6.ebuild +++ b/games-misc/gpe-julia/gpe-julia-0.0.6.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/gpe-julia/gpe-julia-0.0.6.ebuild,v 1.2 2009/07/27 15:26:51 miknix Exp $ - +# $Header: /var/cvsroot/gentoo-x86/games-misc/gpe-julia/gpe-julia-0.0.6.ebuild,v 1.3 2015/02/06 05:33:40 tupone Exp $ +EAPI=5 GPE_TARBALL_SUFFIX="gz" GPE_MIRROR="http://gpe.linuxtogo.org/download/source" -inherit gpe +inherit eutils gpe DESCRIPTION="A Julia/Mandelbrot set generator for GPE" @@ -20,7 +20,9 @@ DEPEND="${DEPEND} src_unpack() { gpe_src_unpack "$@" +} +src_prepare() { sed -i -e s@'#include <gpe/render.h>'@@ "${S}"/main.c \ || die "main.c sed failed" @@ -32,4 +34,5 @@ src_unpack() { mv -f gpe-julia.desktop.in gpe-julia.desktop sed -i -e 's/^_//' gpe-julia.desktop \ || die ".desktop sed failed" + epatch "${FILESDIR}"/${P}-underlink.patch } |