From 35c73d835691630b0b69d61bffb78663947ac686 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Mon, 2 Jul 2007 17:07:42 +0000 Subject: remove need for an executable stack (Portage version: 2.1.3_rc6) --- games-emulation/darcnes/ChangeLog | 6 +++++- games-emulation/darcnes/darcnes-0401-r2.ebuild | 9 +++++---- games-emulation/darcnes/files/darcnes-0401-exec-stack.patch | 9 +++++++++ 3 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 games-emulation/darcnes/files/darcnes-0401-exec-stack.patch (limited to 'games-emulation') diff --git a/games-emulation/darcnes/ChangeLog b/games-emulation/darcnes/ChangeLog index 849e65d82387..6dab686a494a 100644 --- a/games-emulation/darcnes/ChangeLog +++ b/games-emulation/darcnes/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/darcnes # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/ChangeLog,v 1.14 2007/02/21 23:18:48 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/ChangeLog,v 1.15 2007/07/02 17:07:42 nyhm Exp $ + + 02 Jul 2007; Tristan Heaven + +files/darcnes-0401-exec-stack.patch, darcnes-0401-r2.ebuild: + remove need for an executable stack 21 Feb 2007; Piotr JaroszyƄski ChangeLog: Transition to Manifest2. diff --git a/games-emulation/darcnes/darcnes-0401-r2.ebuild b/games-emulation/darcnes/darcnes-0401-r2.ebuild index 61b712658a4c..6d1389de6340 100644 --- a/games-emulation/darcnes/darcnes-0401-r2.ebuild +++ b/games-emulation/darcnes/darcnes-0401-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/darcnes-0401-r2.ebuild,v 1.11 2006/12/01 21:22:33 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/darcnes-0401-r2.ebuild,v 1.12 2007/07/02 17:07:42 nyhm Exp $ inherit eutils games @@ -26,8 +26,9 @@ S=${WORKDIR}/${PN} src_unpack() { unpack ${A} cd "${S}" - - epatch "${FILESDIR}/${P}-gcc34.patch" + epatch \ + "${FILESDIR}"/${P}-gcc34.patch \ + "${FILESDIR}"/${P}-exec-stack.patch # bug #75391 sed -i \ -e "s/buttons\[0\]/buttons\[\]/" ui.h \ diff --git a/games-emulation/darcnes/files/darcnes-0401-exec-stack.patch b/games-emulation/darcnes/files/darcnes-0401-exec-stack.patch new file mode 100644 index 000000000000..4ab3565e3c7a --- /dev/null +++ b/games-emulation/darcnes/files/darcnes-0401-exec-stack.patch @@ -0,0 +1,9 @@ +--- blitters.S ++++ blitters.S +@@ -242,3 +242,6 @@ + * Initial revision + * + */ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif -- cgit v1.2.3-65-gdbad