diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2009-02-04 16:27:22 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2009-02-04 16:27:22 +0000 |
commit | 9fc49ec355c9802a7882dac43a92842b7ffe6c19 (patch) | |
tree | 272f09d367ae49626d5012d42e06a5964f014080 /games-emulation | |
parent | Version bump (bug #244424), fixing a buffer overread vulnerability (bug (diff) | |
download | gentoo-2-9fc49ec355c9802a7882dac43a92842b7ffe6c19.tar.gz gentoo-2-9fc49ec355c9802a7882dac43a92842b7ffe6c19.tar.bz2 gentoo-2-9fc49ec355c9802a7882dac43a92842b7ffe6c19.zip |
Fix --as-needed bug #247353
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/snes9express/ChangeLog | 8 | ||||
-rw-r--r-- | games-emulation/snes9express/files/snes9express-1.42-as-needed.patch | 20 | ||||
-rw-r--r-- | games-emulation/snes9express/snes9express-1.42.ebuild | 12 |
3 files changed, 32 insertions, 8 deletions
diff --git a/games-emulation/snes9express/ChangeLog b/games-emulation/snes9express/ChangeLog index 69918f4e1c78..05c6c3ea563d 100644 --- a/games-emulation/snes9express/ChangeLog +++ b/games-emulation/snes9express/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/snes9express -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9express/ChangeLog,v 1.11 2008/05/02 19:15:45 nyhm Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9express/ChangeLog,v 1.12 2009/02/04 16:27:22 tupone Exp $ + + 04 Feb 2009; Alfredo Tupone <tupone@gentoo.org> + +files/snes9express-1.42-as-needed.patch, snes9express-1.42.ebuild: + Fix --as-needed bug #247353 by flameeyes@gentoo.org 02 May 2008; Tristan Heaven <nyhm@gentoo.org> -files/snes9express-1.42-fix.patch, +files/snes9express-1.42-gcc43.patch, diff --git a/games-emulation/snes9express/files/snes9express-1.42-as-needed.patch b/games-emulation/snes9express/files/snes9express-1.42-as-needed.patch new file mode 100644 index 000000000000..c8b67fe00041 --- /dev/null +++ b/games-emulation/snes9express/files/snes9express-1.42-as-needed.patch @@ -0,0 +1,20 @@ +--- Makefile.in.old 2009-02-04 17:16:29.000000000 +0100 ++++ Makefile.in 2009-02-04 17:17:40.000000000 +0100 +@@ -72,7 +72,7 @@ + snes9express_SOURCES = frend.h frend.cc defines.h controller.h controller.cc profiler.h profiler.cc rom.h rom.cc sound.h sound.cc video.h video.cc cpu.h cpu.cc netplay.h netplay.cc extra.h extra.cc prefs.h prefs.cc misc.h misc.cc s9xskin.h s9xskin.cc skins.h skins.cc interface.h interface.cc + snes9express_DEPENDENCIES = frend.h defines.h Makefile config.h + AM_CXXFLAGS = @GTK_CFLAGS@ +-snes9express_LDFLAGS = $(GTK_LIBS) @LIBOBJS@ ++snes9express_LDFLAGS = + EXTRA_DIST = snes.s9xskin snsp.s9xskin snes9express.spec + pkgdata_DATA = snes.s9xskin snsp.s9xskin + AM_CPPFLAGS = -DS9XDATADIR=\"$(pkgdatadir)\" +@@ -90,7 +90,7 @@ + snes9express_OBJECTS = frend.o controller.o profiler.o rom.o sound.o \ + video.o cpu.o netplay.o extra.o prefs.o misc.o s9xskin.o skins.o \ + interface.o +-snes9express_LDADD = $(LDADD) ++snes9express_LDADD = $(GTK_LIBS) @LIBOBJS@ + CXXFLAGS = @CXXFLAGS@ + CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) + CXXLD = $(CXX) diff --git a/games-emulation/snes9express/snes9express-1.42.ebuild b/games-emulation/snes9express/snes9express-1.42.ebuild index eaa715617b74..0e717bb1eac8 100644 --- a/games-emulation/snes9express/snes9express-1.42.ebuild +++ b/games-emulation/snes9express/snes9express-1.42.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9express/snes9express-1.42.ebuild,v 1.11 2008/05/02 19:15:45 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9express/snes9express-1.42.ebuild,v 1.12 2009/02/04 16:27:22 tupone Exp $ +EAPI=2 inherit eutils games DESCRIPTION="A graphical interface for the X11 versions of snes9x" @@ -19,12 +20,11 @@ RDEPEND="${DEPEND} DEPEND="${DEPEND} dev-util/pkgconfig" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch \ "${FILESDIR}"/${P}-gcc41.patch \ - "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-as-needed.patch } src_install() { |