]> git.pld-linux.org Git - packages/bin86.git/blobdiff - bin86-x64.patch
- fix building on x86_64
[packages/bin86.git] / bin86-x64.patch
diff --git a/bin86-x64.patch b/bin86-x64.patch
new file mode 100644 (file)
index 0000000..571dfd9
--- /dev/null
@@ -0,0 +1,14 @@
+diff -ur bin86-0.16.18.orig/ld/x86_aout.h bin86-0.16.18/ld/x86_aout.h
+--- bin86-0.16.18.orig/ld/x86_aout.h   2003-01-28 22:17:14.000000000 +0000
++++ bin86-0.16.18/ld/x86_aout.h        2012-09-29 14:00:55.188509488 +0000
+@@ -13,7 +13,9 @@
+ typedef long Long;
+ #define __OUT_OK 1
+ #else
+-typedef char Long[4];
++#define __OUT_OK 1
++#include <sys/types.h>
++typedef int32_t Long;
+ #endif
+ struct        exec {                  /* a.out header */
This page took 0.063465 seconds and 4 git commands to generate.