pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/ia64sim Make this package compile when using...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6629f964f886
branches:  trunk
changeset: 469025:6629f964f886
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Wed Feb 18 23:24:59 2004 +0000

description:
Make this package compile when using gcc 3.3.

diffstat:

 emulators/ia64sim/distinfo         |   3 ++-
 emulators/ia64sim/patches/patch-ab |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 2003dbbbc56f -r 6629f964f886 emulators/ia64sim/distinfo
--- a/emulators/ia64sim/distinfo        Wed Feb 18 23:09:03 2004 +0000
+++ b/emulators/ia64sim/distinfo        Wed Feb 18 23:24:59 2004 +0000
@@ -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 -r 2003dbbbc56f -r 6629f964f886 emulators/ia64sim/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/ia64sim/patches/patch-ab        Wed Feb 18 23:24:59 2004 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index