summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/zip/zip-3.0-exec-stack.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-08 19:55:52 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-08 19:55:52 (GMT)
commit62a85af977dfdaa2c5650611e92d165ff96c39af (patch)
tree988016870332e5339954b085cc679e085f0f6057 /abs/extra-testing/zip/zip-3.0-exec-stack.patch
parent562074d2036106b5cd46505fe9823c939c1e7ff1 (diff)
downloadlinhes_pkgbuild-62a85af977dfdaa2c5650611e92d165ff96c39af.zip
linhes_pkgbuild-62a85af977dfdaa2c5650611e92d165ff96c39af.tar.gz
linhes_pkgbuild-62a85af977dfdaa2c5650611e92d165ff96c39af.tar.bz2
fixes for zip.
These were taken from gentoo.
Diffstat (limited to 'abs/extra-testing/zip/zip-3.0-exec-stack.patch')
-rw-r--r--abs/extra-testing/zip/zip-3.0-exec-stack.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/extra-testing/zip/zip-3.0-exec-stack.patch b/abs/extra-testing/zip/zip-3.0-exec-stack.patch
new file mode 100644
index 0000000..2eb1acf
--- /dev/null
+++ b/abs/extra-testing/zip/zip-3.0-exec-stack.patch
@@ -0,0 +1,20 @@
+--- zip-2.31/crc_i386.S
++++ zip-2.31/crc_i386.S
+@@ -238,3 +238,7 @@
+ #endif /* i386 || _i386 || _I386 || __i386 */
+
+ #endif /* !USE_ZLIB && !CRC_TABLE_ONLY */
++
++#if defined __ELF__ && defined __linux__
++.section .note.GNU-stack,"",@progbits
++#endif
+--- zip-2.31/match.S
++++ zip-2.31/match.S
+@@ -405,3 +405,7 @@
+ #endif /* i386 || _I386 || _i386 || __i386 */
+
+ #endif /* !USE_ZLIB */
++
++#if defined __ELF__ && defined __linux__
++.section .note.GNU-stack,"",@progbits
++#endif