diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-10 07:53:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-10 07:53:33 +0000 |
commit | 494084ad2f34aaee8cf08eea0fe85b53d7250c30 (patch) | |
tree | 977376fd3f337760956c5113bdfc504d492ae73e /main/dev86/dev86-long.patch | |
parent | b55fa1b2c5c3a28bd2cead7326f4555b1d9f93b4 (diff) | |
download | aports-494084ad2f34aaee8cf08eea0fe85b53d7250c30.tar.bz2 aports-494084ad2f34aaee8cf08eea0fe85b53d7250c30.tar.xz |
main/dev86: build fix for x86_64
Diffstat (limited to 'main/dev86/dev86-long.patch')
-rw-r--r-- | main/dev86/dev86-long.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/dev86/dev86-long.patch b/main/dev86/dev86-long.patch new file mode 100644 index 0000000000..9e7e1f0d81 --- /dev/null +++ b/main/dev86/dev86-long.patch @@ -0,0 +1,21 @@ +--- ./ld/x86_aout.h.orig ++++ ./ld/x86_aout.h +@@ -11,17 +11,12 @@ + /* 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 + /* Beware: this will probably allow some BE hosts to generate broken files. */ +-#ifdef INT32_MAX + #include <stdint.h> + typedef int32_t Long; +-#define __OUT_OK 1 +-#else +-typedef char Long[4]; + #endif +-#endif ++#define __OUT_OK 1 + + struct exec { /* a.out header */ + unsigned char a_magic[2]; /* magic number */ |