diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-15 15:13:19 +0100 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-15 15:13:19 +0100 |
| commit | 1b10a8d0ea1c5603c1621f26b6d2c0c8312bc1c9 (patch) | |
| tree | e89656846cd415c9f51275b2e232a64a16858e82 /testing/dev86/dev86-long.patch | |
| parent | 6c615833a557fdda19e2ffdc46dfdbb0486a3901 (diff) | |
| download | aports-1b10a8d0ea1c5603c1621f26b6d2c0c8312bc1c9.tar.bz2 aports-1b10a8d0ea1c5603c1621f26b6d2c0c8312bc1c9.tar.xz | |
testing/dev86: build fix for x86_64
patch from fedora
Diffstat (limited to 'testing/dev86/dev86-long.patch')
| -rw-r--r-- | testing/dev86/dev86-long.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/dev86/dev86-long.patch b/testing/dev86/dev86-long.patch new file mode 100644 index 0000000000..34cde195bc --- /dev/null +++ b/testing/dev86/dev86-long.patch @@ -0,0 +1,17 @@ +diff -up dev86-0.16.17/ld/x86_aout.h.long dev86-0.16.17/ld/x86_aout.h +--- dev86-0.16.17/ld/x86_aout.h.long 2003-01-28 23:17:14.000000000 +0100 ++++ dev86-0.16.17/ld/x86_aout.h 2009-02-19 11:37:10.000000000 +0100 +@@ -11,10 +11,11 @@ + /* If the host isn't an x86 all bets are off, use chars. */ + #if defined(i386) || defined(__BCC__) || defined(MSDOS) + typedef long Long; +-#define __OUT_OK 1 + #else +-typedef char Long[4]; ++#include <stdint.h> ++typedef int32_t Long; + #endif ++#define __OUT_OK 1 + + struct exec { /* a.out header */ + unsigned char a_magic[2]; /* magic number */ |
