summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-07-02 17:07:42 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-07-02 17:07:42 +0000
commit35c73d835691630b0b69d61bffb78663947ac686 (patch)
tree228442817ad23fd4f2a9f5e3d576c252fff84114 /games-emulation/darcnes
parentMask x11-misc/ntodo for removal. (diff)
downloadgentoo-2-35c73d835691630b0b69d61bffb78663947ac686.tar.gz
gentoo-2-35c73d835691630b0b69d61bffb78663947ac686.tar.bz2
gentoo-2-35c73d835691630b0b69d61bffb78663947ac686.zip
remove need for an executable stack
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'games-emulation/darcnes')
-rw-r--r--games-emulation/darcnes/ChangeLog6
-rw-r--r--games-emulation/darcnes/darcnes-0401-r2.ebuild9
-rw-r--r--games-emulation/darcnes/files/darcnes-0401-exec-stack.patch9
3 files changed, 19 insertions, 5 deletions
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 <nyhm@gentoo.org>
+ +files/darcnes-0401-exec-stack.patch, darcnes-0401-r2.ebuild:
+ remove need for an executable stack
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> 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