summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/bin86/files/bin86-0.16.21-amd64-build.patch')
-rw-r--r--sys-devel/bin86/files/bin86-0.16.21-amd64-build.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-devel/bin86/files/bin86-0.16.21-amd64-build.patch b/sys-devel/bin86/files/bin86-0.16.21-amd64-build.patch
new file mode 100644
index 000000000000..9e5a85299fe6
--- /dev/null
+++ b/sys-devel/bin86/files/bin86-0.16.21-amd64-build.patch
@@ -0,0 +1,19 @@
+This should make it built on other archictectures as well
+
+https://bugs.gentoo.org/428228
+
+diff --git a/ld/x86_aout.h b/ld/x86_aout.h
+index 542a70d..a38488d 100644
+--- a/ld/x86_aout.h
++++ b/ld/x86_aout.h
+@@ -19,7 +19,9 @@ typedef long Long;
+ typedef int32_t Long;
+ #define __OUT_OK 1
+ #else
+-typedef char Long[4];
++#define __OUT_OK 1
++#include <inttypes.h>
++typedef int32_t Long;
+ #endif
+ #endif
+