summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-10-04 00:50:44 +0200
committerDavid Seifert <soap@gentoo.org>2020-10-04 00:50:44 +0200
commit48a5b269397a4dfb5c52a1e598c0d568bdfe6a9b (patch)
treee90556298d65c61ec6bd80b1af92132d7fb1794c /games-util/wit/files/wit-3.02a-no-exec-stack.patch
parentdev-lang/python: Stabilize 2.7.18-r2 ppc (diff)
downloadgentoo-48a5b269397a4dfb5c52a1e598c0d568bdfe6a9b.tar.gz
gentoo-48a5b269397a4dfb5c52a1e598c0d568bdfe6a9b.tar.bz2
gentoo-48a5b269397a4dfb5c52a1e598c0d568bdfe6a9b.zip
games-util/wit: Fix -fno-common
Bug: https://bugs.gentoo.org/742404 Closes: https://bugs.gentoo.org/706610 Closes: https://bugs.gentoo.org/724706 Closes: https://bugs.gentoo.org/739408 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-util/wit/files/wit-3.02a-no-exec-stack.patch')
-rw-r--r--games-util/wit/files/wit-3.02a-no-exec-stack.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/games-util/wit/files/wit-3.02a-no-exec-stack.patch b/games-util/wit/files/wit-3.02a-no-exec-stack.patch
new file mode 100644
index 000000000000..db91b45cfcb1
--- /dev/null
+++ b/games-util/wit/files/wit-3.02a-no-exec-stack.patch
@@ -0,0 +1,9 @@
+--- wit-2.30a/src/crypto/ssl-asm.S
++++ wit-2.30a/src/crypto/ssl-asm.S
+@@ -37,3 +37,6 @@
+ #define WIT_INCLUDE_SSL_ASM
+ #include "ssl-asm.h"
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif