mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/dev86: build fix for x86_64
This commit is contained in:
parent
b55fa1b2c5
commit
494084ad2f
@ -15,6 +15,7 @@ source="http://www.debath.co.uk/dev86/Dev86src-$pkgver.tar.gz
|
||||
dev86-noelks.patch
|
||||
dev86-pic.patch
|
||||
dev86-print-overflow.patch
|
||||
dev86-long.patch
|
||||
"
|
||||
|
||||
_builddir="$srcdir"/dev86-$pkgver
|
||||
@ -74,4 +75,5 @@ package() {
|
||||
md5sums="442e98e1afa23fe00d40c5a996385942 Dev86src-0.16.19.tar.gz
|
||||
eba7081bc5dbd72b7b9b902275251499 dev86-noelks.patch
|
||||
d508a2a8ededa9e34dbd9105dfd66290 dev86-pic.patch
|
||||
7ce097efcb8c043727b4b3bf6c396c75 dev86-print-overflow.patch"
|
||||
7ce097efcb8c043727b4b3bf6c396c75 dev86-print-overflow.patch
|
||||
95e9df3245d46a02154fbe2f8b907782 dev86-long.patch"
|
||||
|
||||
21
main/dev86/dev86-long.patch
Normal file
21
main/dev86/dev86-long.patch
Normal file
@ -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 */
|
||||
Loading…
x
Reference in New Issue
Block a user