0
0
Fork 0
haikuports/sys-devel/bin86/patches/bin86-0.16.21.patchset

25 lines
515 B
Plaintext

From 5dba21d7b8b1850e0a590d2a4f58b56ee983deb1 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 21 May 2014 18:01:48 +0000
Subject: apply amd64 patch from Gentoo.
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
--
1.8.3.4