diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-12-28 02:37:02 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-12-28 02:37:02 +0000 |
commit | 232b12bcf1c52b8fcfc198ffbc2cb5503837209a (patch) | |
tree | 31141b8477476a903e22abe9e029e20d7f532405 /dev-libs/lzo/files | |
parent | Cleanup. (diff) | |
download | gentoo-2-232b12bcf1c52b8fcfc198ffbc2cb5503837209a.tar.gz gentoo-2-232b12bcf1c52b8fcfc198ffbc2cb5503837209a.tar.bz2 gentoo-2-232b12bcf1c52b8fcfc198ffbc2cb5503837209a.zip |
removed executable stacks bug #116930
(Portage version: 2.1_pre2)
Diffstat (limited to 'dev-libs/lzo/files')
-rw-r--r-- | dev-libs/lzo/files/digest-lzo-2.02 | 1 | ||||
-rw-r--r-- | dev-libs/lzo/files/lzo-1.08-exec-stack.patch | 14 | ||||
-rw-r--r-- | dev-libs/lzo/files/lzo-2.02-exec-stack.patch | 25 |
3 files changed, 39 insertions, 1 deletions
diff --git a/dev-libs/lzo/files/digest-lzo-2.02 b/dev-libs/lzo/files/digest-lzo-2.02 deleted file mode 100644 index ec046ce41445..000000000000 --- a/dev-libs/lzo/files/digest-lzo-2.02 +++ /dev/null @@ -1 +0,0 @@ -MD5 6760e5819f4238328709bf93bf10071c lzo-2.02.tar.gz 599387 diff --git a/dev-libs/lzo/files/lzo-1.08-exec-stack.patch b/dev-libs/lzo/files/lzo-1.08-exec-stack.patch new file mode 100644 index 000000000000..cda165657f15 --- /dev/null +++ b/dev-libs/lzo/files/lzo-1.08-exec-stack.patch @@ -0,0 +1,14 @@ +diff -ur lzo-1.08.old/src/i386/src/leave.sh lzo-1.08/src/i386/src/leave.sh +--- lzo-1.08.old/src/i386/src/leave.sh 2005-12-28 01:18:28.958047816 +0200 ++++ lzo-1.08/src/i386/src/leave.sh 2005-12-28 01:17:49.253083888 +0200 +@@ -93,6 +93,10 @@ + + .L_end: + ++%ifidn __OUTPUT_FORMAT__,elf ++section .note.GNU-stack noalloc noexec nowrite progbits ++%endif ++ + /* + vi:ts=4 + */ diff --git a/dev-libs/lzo/files/lzo-2.02-exec-stack.patch b/dev-libs/lzo/files/lzo-2.02-exec-stack.patch new file mode 100644 index 000000000000..2b03669b9a3a --- /dev/null +++ b/dev-libs/lzo/files/lzo-2.02-exec-stack.patch @@ -0,0 +1,25 @@ +--- asm/i386/src_nasm/asminit.def.orig 2005-12-29 22:51:45.000000000 +1100 ++++ asm/i386/src_nasm/asminit.def 2005-12-29 22:54:11.000000000 +1100 +@@ -32,6 +32,9 @@ + ; <markus@oberhumer.com> + ; http://www.oberhumer.com/opensource/lzo/ + ; ++%ifidn __OUTPUT_FORMAT__,elf ++section .note.GNU-stack noalloc noexec nowrite progbits ++%endif + + %define F(name) name + %ifidni __OUTPUT_FORMAT__,elf +--- asm/i386/src_gas/asminit.def.orig 2005-12-29 22:51:58.000000000 +1100 ++++ asm/i386/src_gas/asminit.def 2005-12-29 22:55:29.000000000 +1100 +@@ -32,6 +32,10 @@ + <markus@oberhumer.com> + http://www.oberhumer.com/opensource/lzo/ + */ ++#ifdef __ELF__ ++.section .note.GNU-stack,"",@progbits ++#endif ++ + + #ifndef F + # define F(name) name |