aboutsummaryrefslogtreecommitdiff
path: root/devel/elftoaout/files
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1999-04-12 00:03:00 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1999-04-12 00:03:00 +0000
commit563ff0bda22b6022a55fb0a959b08676e57d2d71 (patch)
tree417b05707810613dac39098cc65249467cee0557 /devel/elftoaout/files
parentd6fb7b96d4b8323565ad2c7365f70e177db22d52 (diff)
downloadports-563ff0bda22b6022a55fb0a959b08676e57d2d71.tar.gz
ports-563ff0bda22b6022a55fb0a959b08676e57d2d71.zip
Notes
Diffstat (limited to 'devel/elftoaout/files')
-rw-r--r--devel/elftoaout/files/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/elftoaout/files/patch-aa b/devel/elftoaout/files/patch-aa
new file mode 100644
index 000000000000..b351f87889b8
--- /dev/null
+++ b/devel/elftoaout/files/patch-aa
@@ -0,0 +1,19 @@
+--- elftoaout.c~ Thu Jul 10 16:48:06 1997
++++ elftoaout.c Fri Jul 3 09:36:09 1998
+@@ -9,7 +9,15 @@
+ #include <linux/elf.h>
+ #define ELFDATA2MSB 2
+ #else
+-#include <sys/elf.h>
++#include <elf.h>
++#include <sys/elf64.h>
++#endif
++
++#ifndef PT_LOPROC
++#define PT_LOPROC 0x70000000
++#endif
++#ifndef PT_HIPROC
++#define PT_HIPROC 0x7fffffff
+ #endif
+
+ #define swab16(x) (((x)<<8&0xFF00)|((x)>>8&0x00FF))