summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/nprquake-sdl/files/nprquake-sdl-1-exec-stack.patch')
-rw-r--r--games-fps/nprquake-sdl/files/nprquake-sdl-1-exec-stack.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/games-fps/nprquake-sdl/files/nprquake-sdl-1-exec-stack.patch b/games-fps/nprquake-sdl/files/nprquake-sdl-1-exec-stack.patch
new file mode 100644
index 000000000000..99edb83a1b32
--- /dev/null
+++ b/games-fps/nprquake-sdl/files/nprquake-sdl-1-exec-stack.patch
@@ -0,0 +1,36 @@
+--- NPRQuakeSrc/math.s
++++ NPRQuakeSrc/math.s
+@@ -416,3 +416,6 @@
+ call C(BOPS_Error)
+
+ #endif // id386
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+--- NPRQuakeSrc/snd_mixa.s
++++ NPRQuakeSrc/snd_mixa.s
+@@ -216,3 +216,6 @@
+
+ #endif // id386
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+--- NPRQuakeSrc/sys_dosa.s
++++ NPRQuakeSrc/sys_dosa.s
+@@ -93,3 +93,6 @@
+
+ ret
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+--- NPRQuakeSrc/worlda.s
++++ NPRQuakeSrc/worlda.s
+@@ -142,3 +142,6 @@
+
+ #endif // id386
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif