diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-02-18 23:24:59 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-02-18 23:24:59 +0000 |
commit | af57c1d82289bedd455592f45263edb8805f78e2 (patch) | |
tree | 75099e040dc3eb88ac20175524fee7f75592b9a5 /emulators | |
parent | 157a95f6f24c66d89a240988671d8a9930cf101d (diff) | |
download | pkgsrc-af57c1d82289bedd455592f45263edb8805f78e2.tar.gz |
Make this package compile when using gcc 3.3.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/ia64sim/distinfo | 3 | ||||
-rw-r--r-- | emulators/ia64sim/patches/patch-ab | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/emulators/ia64sim/distinfo b/emulators/ia64sim/distinfo index 2447a0764a9..d356012f1dc 100644 --- a/emulators/ia64sim/distinfo +++ b/emulators/ia64sim/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.2 2001/05/09 21:23:18 wiz Exp $ +$NetBSD: distinfo,v 1.3 2004/02/18 23:24:59 kristerw Exp $ SHA1 (ia64sim-0.3/ia64sim.zip) = 8ec70627716bfcc59f7083f76655bb3ee09aa89f Size (ia64sim-0.3/ia64sim.zip) = 91846 bytes SHA1 (patch-aa) = ec595d6964bdc9df6ad5501e320523466af3b0cf +SHA1 (patch-ab) = 27d7bd7c7e6b0603fa731850b83aa47145defed8 SHA1 (patch-ac) = 42b237f44e4dde9be1897a83ffe97cf5ccf3f8d4 SHA1 (patch-ad) = e1e97c022d64c1729a8c4ca836695148808804d6 diff --git a/emulators/ia64sim/patches/patch-ab b/emulators/ia64sim/patches/patch-ab new file mode 100644 index 00000000000..668d9acc226 --- /dev/null +++ b/emulators/ia64sim/patches/patch-ab @@ -0,0 +1,24 @@ +$NetBSD: patch-ab,v 1.3 2004/02/18 23:24:59 kristerw Exp $ + +--- include/ia64.h.orig Thu Feb 19 00:15:01 2004 ++++ include/ia64.h Thu Feb 19 00:16:20 2004 +@@ -35,7 +35,7 @@ + 0<=lo,hi<=63 and lo<=hi */ + + #define BITS(x,lo,hi) ( \ +- (uint32)(x##.q >> lo) & \ ++ (uint32)(x.q >> lo) & \ + ( (1<<(hi-lo+1)) - 1 ) \ + ) + +@@ -69,8 +69,8 @@ + uint8 b[8]; + } qword; + +-#define HI(x) (x##.d[1]) +-#define LO(x) (x##.d[0]) ++#define HI(x) (x.d[1]) ++#define LO(x) (x.d[0]) + + typedef struct { + qword dat; |