summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-24 00:59:10 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-24 00:59:10 +0000
commit328659c836e171114a173e4de2cd4b44cf8339d5 (patch)
tree9566985487caf07eba26b33580bc3fad823f1002 /media-gfx/gwenview/files
parentRevision bump; added some patches to fix the --enable-debug configure option,... (diff)
downloadgentoo-2-328659c836e171114a173e4de2cd4b44cf8339d5.tar.gz
gentoo-2-328659c836e171114a173e4de2cd4b44cf8339d5.tar.bz2
gentoo-2-328659c836e171114a173e4de2cd4b44cf8339d5.zip
Added patch to make unconditional the GNU stack marking (fixes executable stack on non-x86 systems).
(Portage version: 2.1_pre1)
Diffstat (limited to 'media-gfx/gwenview/files')
-rw-r--r--media-gfx/gwenview/files/gwenview-1.3.1-noexecstack.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-gfx/gwenview/files/gwenview-1.3.1-noexecstack.patch b/media-gfx/gwenview/files/gwenview-1.3.1-noexecstack.patch
new file mode 100644
index 000000000000..c79912523583
--- /dev/null
+++ b/media-gfx/gwenview/files/gwenview-1.3.1-noexecstack.patch
@@ -0,0 +1,18 @@
+Index: gwenview-1.3.1/src/imageutils/asm_scale.S
+===================================================================
+--- gwenview-1.3.1.orig/src/imageutils/asm_scale.S
++++ gwenview-1.3.1/src/imageutils/asm_scale.S
+@@ -803,8 +803,11 @@ PR_(mimageScale_mmx_AARGBA):
+ popl %ebp
+ ret
+
+-.section .note.GNU-stack,"",@progbits
+-
+ SIZE(mimageScale_mmx_AARGBA)
+
+ #endif
++
++#ifdef __ELF__
++.section .note.GNU-stack,"",@progbits
++#endif
++