summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-07-16 14:19:16 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-07-16 14:19:16 +0000
commitaf69720082100739fb3cbeddd18fb6bbe513abc3 (patch)
tree3e0c3f2c54aa556680f3970eb8479d7f002fc8ef /media-sound/lame/files
parentStable on ppc wrt bug 231733 (diff)
downloadhistorical-af69720082100739fb3cbeddd18fb6bbe513abc3.tar.gz
historical-af69720082100739fb3cbeddd18fb6bbe513abc3.tar.bz2
historical-af69720082100739fb3cbeddd18fb6bbe513abc3.zip
fix exec stacks with mmx asm, still bug #93279
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.7 x86_64
Diffstat (limited to 'media-sound/lame/files')
-rw-r--r--media-sound/lame/files/lame-3.98-execstacks.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-sound/lame/files/lame-3.98-execstacks.patch b/media-sound/lame/files/lame-3.98-execstacks.patch
new file mode 100644
index 000000000000..d2c7d4de47fd
--- /dev/null
+++ b/media-sound/lame/files/lame-3.98-execstacks.patch
@@ -0,0 +1,13 @@
+Index: lame-398/libmp3lame/i386/nasm.h
+===================================================================
+--- lame-398.orig/libmp3lame/i386/nasm.h
++++ lame-398/libmp3lame/i386/nasm.h
+@@ -36,7 +36,7 @@ BITS 32
+ %define segment_data segment .data
+ %define segment_bss segment .bss
+ %else
+-%ifdef LINUX
++%ifidn __OUTPUT_FORMAT__,elf
+ section .note.GNU-stack progbits noalloc noexec nowrite align=1
+ %endif
+ %define segment_code segment .text align=16 class=CODE use32