summaryrefslogtreecommitdiff
path: root/debian/patches/exec.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/exec.patch')
-rw-r--r--debian/patches/exec.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/exec.patch b/debian/patches/exec.patch
new file mode 100644
index 00000000..9155e288
--- /dev/null
+++ b/debian/patches/exec.patch
@@ -0,0 +1,14 @@
+--- hurd-20040301.orig/exec/exec.c
++++ hurd-20040301/exec/exec.c
+@@ -39,6 +39,11 @@
+ #include <sys/stat.h>
+ #include <sys/param.h>
+ #include <unistd.h>
++#include <elf.h>
++
++#ifndef PT_GNU_STACK
++#define PT_GNU_STACK 0x6474e551
++#endif
+
+ mach_port_t procserver; /* Our proc port. */
+