source: patches/bin86-0.16.17-x86_64-1.patch@ 84cf555

Last change on this file since 84cf555 was 67300de, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Create a clfs-1.1 branch in preperation for a RC.

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[67300de]1Submitted By: Ken Moffat <ken@kenmoffat.uklinux.net>
2Date: 2005-06-28
3Initial Package Version: 0.16.14
4Upstream Status: Submitted Upstream
5Origin: from ROCK Linux
6Description: Allows bin86 to compile on x86_64, which permits lilo to
7 be used in a 64-bit system. I'm dubious about ROCK's attempts to
8 automatically add dual-licensing to all their patches, but bin86 is
9 already GPL'd. I've heard from the maintainer that this will be
10 included in the next upload.
11
12
13# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
14#
15# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
16# Please add additional copyright information _after_ the line containing
17# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
18# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
19#
20# ROCK Linux: rock-src/package/x86/bin86/x86_64.patch
21# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
22#
23# This patch file is dual-licensed. It is available under the license the
24# patched project is licensed under, as long as it is an OpenSource license
25# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
26# of the GNU General Public License as published by the Free Software
27# Foundation; either version 2 of the License, or (at your option) any later
28# version.
29#
30# --- ROCK-COPYRIGHT-NOTE-END ---
31
32diff -urN bin86-0.16.14-orig/ld/x86_aout.h bin86-0.16.14/ld/x86_aout.h
33--- bin86-0.16.14-orig/ld/x86_aout.h 2004-11-07 20:07:31.506442000 +0100
34+++ bin86-0.16.14/ld/x86_aout.h 2004-11-07 20:07:41.106982496 +0100
35@@ -12,6 +12,9 @@
36 #if defined(i386) || defined(__BCC__) || defined(MSDOS)
37 typedef long Long;
38 #define __OUT_OK 1
39+#elif defined(__x86_64__)
40+typedef int Long;
41+#define __OUT_OK 1
42 #else
43 typedef char Long[4];
44 #endif
Note: See TracBrowser for help on using the repository browser.