diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2009-02-06 13:44:59 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2009-02-06 13:44:59 +0000 |
commit | 6492853b74f62e1ce85aa0f49de603e47672271a (patch) | |
tree | 8f85181801c179e8610d6929682001701a087e25 | |
parent | dosemu: fix compilation with gcc 4.3.3 (diff) | |
download | gentoo-2-6492853b74f62e1ce85aa0f49de603e47672271a.tar.gz gentoo-2-6492853b74f62e1ce85aa0f49de603e47672271a.tar.bz2 gentoo-2-6492853b74f62e1ce85aa0f49de603e47672271a.zip |
Fix --as-needed bug #247373
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
-rw-r--r-- | games-fps/wolfgl/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/wolfgl/files/wolfgl-0.93-as-needed.patch | 11 | ||||
-rw-r--r-- | games-fps/wolfgl/wolfgl-0.93-r1.ebuild | 10 |
3 files changed, 22 insertions, 7 deletions
diff --git a/games-fps/wolfgl/ChangeLog b/games-fps/wolfgl/ChangeLog index d71dbffdbc6c..5d6462d00913 100644 --- a/games-fps/wolfgl/ChangeLog +++ b/games-fps/wolfgl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-fps/wolfgl -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/ChangeLog,v 1.11 2007/03/12 15:47:55 genone Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/ChangeLog,v 1.12 2009/02/06 13:44:59 tupone Exp $ + + 06 Feb 2009; Alfredo Tupone <tupone@gentoo.org> + +files/wolfgl-0.93-as-needed.patch, wolfgl-0.93-r1.ebuild: + Fix --as-needed bug #247373 by flameeyes@gentoo.org 12 Mar 2007; Marius Mauch <genone@gentoo.org> wolfgl-0.93-r1.ebuild: Replacing einfo with elog diff --git a/games-fps/wolfgl/files/wolfgl-0.93-as-needed.patch b/games-fps/wolfgl/files/wolfgl-0.93-as-needed.patch new file mode 100644 index 000000000000..6916df70bcc4 --- /dev/null +++ b/games-fps/wolfgl/files/wolfgl-0.93-as-needed.patch @@ -0,0 +1,11 @@ +--- linux/Makefile.old 2009-02-06 14:27:11.000000000 +0100 ++++ linux/Makefile 2009-02-06 14:27:40.000000000 +0100 +@@ -19,7 +19,7 @@ + @echo 'Do not call this file directly' + + wolfgl: $(LINUX_OBJS) $(COMMON_OBJS) +- $(CC) $(LINK_FLAGS) $(COMMON_OBJS) $(LINUX_OBJS) -o $(OUTDIR)/wolfgl ++ $(CC) $(LDFLAGS) $(COMMON_OBJS) $(LINUX_OBJS) $(LINK_FLAGS) -o $(OUTDIR)/wolfgl + + # common directory + diff --git a/games-fps/wolfgl/wolfgl-0.93-r1.ebuild b/games-fps/wolfgl/wolfgl-0.93-r1.ebuild index 152ffd66601b..3964f9230a5b 100644 --- a/games-fps/wolfgl/wolfgl-0.93-r1.ebuild +++ b/games-fps/wolfgl/wolfgl-0.93-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/wolfgl-0.93-r1.ebuild,v 1.10 2007/03/12 15:47:55 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/wolfgl-0.93-r1.ebuild,v 1.11 2009/02/06 13:44:59 tupone Exp $ +EAPI=2 #ECVS_SERVER="wolfgl.cvs.sourceforge.net:/cvsroot/wolfgl" #ECVS_MODULE="wolfgl" #inherit cvs @@ -25,12 +26,11 @@ DEPEND="${RDEPEND} x11-proto/xproto app-arch/unzip" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${PV}-gcc.patch \ "${FILESDIR}"/${PV}-sample-rate.patch \ "${FILESDIR}"/${PV}-sprite.patch \ + "${FILESDIR}"/${P}-as-needed.patch \ "${FILESDIR}"/${PV}-gcc4.patch } |