aboutsummaryrefslogtreecommitdiffstats
path: root/extra/zip/20-zip-3.0-exec-stack.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2009-01-28 22:44:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-29 09:17:50 +0000
commitbeb09de66cb5d0baaae70622442ad0aed34c9c24 (patch)
tree821108aced4c1d22cd58b500e28db585cc4998d7 /extra/zip/20-zip-3.0-exec-stack.patch
parent3cc9204922cd885c9dc712f515af115d4cdc52b9 (diff)
downloadaports-beb09de66cb5d0baaae70622442ad0aed34c9c24.tar.gz
aports-beb09de66cb5d0baaae70622442ad0aed34c9c24.tar.bz2
aports-beb09de66cb5d0baaae70622442ad0aed34c9c24.tar.xz
extra/zip: new aport
Diffstat (limited to 'extra/zip/20-zip-3.0-exec-stack.patch')
-rw-r--r--extra/zip/20-zip-3.0-exec-stack.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/zip/20-zip-3.0-exec-stack.patch b/extra/zip/20-zip-3.0-exec-stack.patch
new file mode 100644
index 0000000000..d85fb117b0
--- /dev/null
+++ b/extra/zip/20-zip-3.0-exec-stack.patch
@@ -0,0 +1,22 @@
+add proper GNU stack markings so we dont get the default: executable
+
+--- crc_i386.S Wed Jan 28 22:22:13 2009
++++ crc_i386.S Wed Jan 28 22:27:04 2009
+@@ -302,3 +302,7 @@
+ #endif /* i386 || _i386 || _I386 || __i386 */
+
+ #endif /* !USE_ZLIB && !CRC_TABLE_ONLY */
++
++#if defined __ELF__ && defined __linux__
++.section .note.GNU-stack,"",@progbits
++#endif
+--- match.S Wed Jan 28 22:22:13 2009
++++ match.S Wed Jan 28 22:27:04 2009
+@@ -405,3 +405,7 @@
+ #endif /* i386 || _I386 || _i386 || __i386 */
+
+ #endif /* !USE_ZLIB */
++
++#if defined __ELF__ && defined __linux__
++.section .note.GNU-stack,"",@progbits
++#endif