aboutsummaryrefslogtreecommitdiff
path: root/devel/bin86/files/patch-ld_x86_aout_h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bin86/files/patch-ld_x86_aout_h')
-rw-r--r--devel/bin86/files/patch-ld_x86_aout_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/bin86/files/patch-ld_x86_aout_h b/devel/bin86/files/patch-ld_x86_aout_h
new file mode 100644
index 000000000000..ebc414ea786e
--- /dev/null
+++ b/devel/bin86/files/patch-ld_x86_aout_h
@@ -0,0 +1,12 @@
+--- ld/x86_aout.h.orig 2008-07-14 15:03:10.000000000 -0500
++++ ld/x86_aout.h 2008-07-14 15:04:55.000000000 -0500
+@@ -12,6 +12,9 @@
+ #if defined(i386) || defined(__BCC__) || defined(MSDOS)
+ typedef long Long;
+ #define __OUT_OK 1
++#elif __amd64__
++typedef int Long;
++#define __OUT_OK 1
+ #else
+ typedef char Long[4];
+ #endif