freebsd-ports/devel/bin86/files/patch-ld_x86_aout_h
Sylvio Cesar Teixeira 69a0ca8eef - Update to version 0.16.18
PR:		ports/168598
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2012-06-05 20:49:55 +00:00

13 lines
314 B
Text

--- ld/x86_aout.h.orig 2003-01-29 07:17:14.000000000 +0900
+++ ld/x86_aout.h 2012-05-30 05:49:38.000000000 +0900
@@ -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 */