summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2006-09-25 09:24:47 +0000
committerKeri Harris <keri@gentoo.org>2006-09-25 09:24:47 +0000
commit0baa77849459d2c2b58379f03d73559f5de5ee75 (patch)
tree23d09ae34bbbd175300b021c1cae6ddda6151443 /dev-lang
parentstable on amd64 (diff)
downloadgentoo-2-0baa77849459d2c2b58379f03d73559f5de5ee75.tar.gz
gentoo-2-0baa77849459d2c2b58379f03d73559f5de5ee75.tar.bz2
gentoo-2-0baa77849459d2c2b58379f03d73559f5de5ee75.zip
Generate GNU.stack section on amd64.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/gprolog/ChangeLog6
-rw-r--r--dev-lang/gprolog/files/gprolog-1.2.19-noexecstack.patch18
2 files changed, 19 insertions, 5 deletions
diff --git a/dev-lang/gprolog/ChangeLog b/dev-lang/gprolog/ChangeLog
index 204a89919752..38c27a90627f 100644
--- a/dev-lang/gprolog/ChangeLog
+++ b/dev-lang/gprolog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/gprolog
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.17 2006/09/19 02:59:01 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.18 2006/09/25 09:24:47 keri Exp $
+
+ 25 Sep 2006; keri <keri@gentoo.org>
+ files/gprolog-1.2.19-noexecstack.patch:
+ Generate GNU.stack section on amd64.
19 Sep 2006; Daniel Gryniewicz <dang@gentoo.org> gprolog-1.2.19.ebuild:
Marked ~amd64 bug #146269
diff --git a/dev-lang/gprolog/files/gprolog-1.2.19-noexecstack.patch b/dev-lang/gprolog/files/gprolog-1.2.19-noexecstack.patch
index 2f552d39a9f1..5e609225679b 100644
--- a/dev-lang/gprolog/files/gprolog-1.2.19-noexecstack.patch
+++ b/dev-lang/gprolog/files/gprolog-1.2.19-noexecstack.patch
@@ -11,16 +11,26 @@
--- gprolog-1.2.19.orig/src/Ma2Asm/powerpc_any.c 2005-06-14 03:40:22.000000000 +1200
-+++ gprolog-1.2.19/src/Ma2Asm/powerpc_any.c 2006-03-31 22:58:44.000000000 +1200
-@@ -161,6 +161,11 @@
++++ gprolog-1.2.19/src/Ma2Asm/powerpc_any.c 2006-03-05 09:40:34.000000000 +1300
+@@ -161,6 +161,9 @@
+ void
+ Asm_Stop(void)
+ {
++ Label_Printf("#ifdef __ELF__");
++ Label_Printf(".section .note.GNU-stack,\"\",@progbits");
++ Label_Printf("#endif");
+ }
+
+
+--- gprolog-1.2.19.orig/src/Ma2Asm/x86_64_any.c 2005-06-14 03:40:22.000000000 +1200
++++ gprolog-1.2.19/src/Ma2Asm/x86_64_any.c 2006-09-25 21:19:06.000000000 +1200
+@@ -166,6 +166,9 @@
void
Asm_Stop(void)
{
-+#ifndef M_powerpc_darwin
+ Label_Printf("#ifdef __ELF__");
+ Label_Printf(".section .note.GNU-stack,\"\",@progbits");
+ Label_Printf("#endif");
-+#endif
}