diff options
Diffstat (limited to 'sci-mathematics/pari/files/pari-non-exec-stack-x86-gentoo.patch')
-rw-r--r-- | sci-mathematics/pari/files/pari-non-exec-stack-x86-gentoo.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-mathematics/pari/files/pari-non-exec-stack-x86-gentoo.patch b/sci-mathematics/pari/files/pari-non-exec-stack-x86-gentoo.patch new file mode 100644 index 000000000000..a3ee992b8859 --- /dev/null +++ b/sci-mathematics/pari/files/pari-non-exec-stack-x86-gentoo.patch @@ -0,0 +1,11 @@ +diff -Naur pari-2.1.7-old/src/kernel/ix86/l0asm.c pari-2.1.7/src/kernel/ix86/l0asm.c +--- pari-2.1.7-old/src/kernel/ix86/l0asm.c 2002-04-06 12:14:02.000000000 +0000 ++++ pari-2.1.7/src/kernel/ix86/l0asm.c 2006-01-19 19:22:49.000000000 +0000 +@@ -206,3 +206,7 @@ + FUNEND() + + ALIGN ++ ++#ifdef __ELF__ ++ .section .note.GNU-stack,"",@progbits ++#endif |