summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/gprolog/files')
-rw-r--r--dev-lang/gprolog/files/gprolog-1.2.19-noexecstack.patch6
1 files changed, 4 insertions, 2 deletions
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 26e2793655b6..2f552d39a9f1 100644
--- a/dev-lang/gprolog/files/gprolog-1.2.19-noexecstack.patch
+++ b/dev-lang/gprolog/files/gprolog-1.2.19-noexecstack.patch
@@ -11,14 +11,16 @@
--- 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-05 09:40:34.000000000 +1300
-@@ -161,6 +161,9 @@
++++ gprolog-1.2.19/src/Ma2Asm/powerpc_any.c 2006-03-31 22:58:44.000000000 +1200
+@@ -161,6 +161,11 @@
void
Asm_Stop(void)
{
++#ifndef M_powerpc_darwin
+ Label_Printf("#ifdef __ELF__");
+ Label_Printf(".section .note.GNU-stack,\"\",@progbits");
+ Label_Printf("#endif");
++#endif
}