You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
18 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
17 years ago
|
#
|
||
10 years ago
|
# Filename: package/.../bin86/bin86-long.patch
|
||
|
# Copyright (C) 2015 The OpenSDE Project
|
||
17 years ago
|
#
|
||
18 years ago
|
# More information can be found in the files COPYING and README.
|
||
17 years ago
|
#
|
||
18 years ago
|
# This patch file is dual-licensed. It is available under the license the
|
||
|
# patched project is licensed under, as long as it is an OpenSource license
|
||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||
|
# of the GNU General Public License as published by the Free Software
|
||
|
# Foundation; either version 2 of the License, or (at your option) any later
|
||
|
# version.
|
||
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
|
|
||
10 years ago
|
--- ./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. */
|
||
18 years ago
|
#if defined(i386) || defined(__BCC__) || defined(MSDOS)
|
||
|
typedef long Long;
|
||
10 years ago
|
-#define __OUT_OK 1
|
||
18 years ago
|
#else
|
||
10 years ago
|
/* 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];
|
||
18 years ago
|
#endif
|
||
10 years ago
|
-#endif
|
||
|
+#define __OUT_OK 1
|
||
|
|
||
|
struct exec { /* a.out header */
|
||
|
unsigned char a_magic[2]; /* magic number */
|
||
|
|