summaryrefslogtreecommitdiff
path: root/extra/bin86/bin86-0.16.19-inttypes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bin86/bin86-0.16.19-inttypes.patch')
-rw-r--r--extra/bin86/bin86-0.16.19-inttypes.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/bin86/bin86-0.16.19-inttypes.patch b/extra/bin86/bin86-0.16.19-inttypes.patch
new file mode 100644
index 000000000..0ab0bb97e
--- /dev/null
+++ b/extra/bin86/bin86-0.16.19-inttypes.patch
@@ -0,0 +1,13 @@
+--- bin86-0.16.19.orig/ld/x86_aout.h 2012-07-30 03:17:06.000000000 -0500
++++ bin86-0.16.19/ld/x86_aout.h 2013-05-01 18:18:59.553588866 -0500
+@@ -19,7 +19,9 @@
+ 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
+