summaryrefslogtreecommitdiff
path: root/cross/sparc-netbsdelf
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-05-07 01:17:55 +0000
committermycroft <mycroft@pkgsrc.org>2000-05-07 01:17:55 +0000
commit47ffb78caf65ef19c7c7fdd113c3927a0e484af1 (patch)
tree24a97e872d5cc90197a9d45f51b1aa5603cda96b /cross/sparc-netbsdelf
parent544e89dbeb12efe46391218b9d5d169573f82e45 (diff)
downloadpkgsrc-47ffb78caf65ef19c7c7fdd113c3927a0e484af1.tar.gz
size_t is unsigned long, not unsigned int.
Diffstat (limited to 'cross/sparc-netbsdelf')
-rw-r--r--cross/sparc-netbsdelf/patches/patch-ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/cross/sparc-netbsdelf/patches/patch-ac b/cross/sparc-netbsdelf/patches/patch-ac
new file mode 100644
index 00000000000..29532ef1197
--- /dev/null
+++ b/cross/sparc-netbsdelf/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1 2000/05/07 01:17:55 mycroft Exp $
+
+--- gcc/config/sparc/netbsd.h.orig Sat May 6 21:01:21 2000
++++ gcc/config/sparc/netbsd.h Sat May 6 21:05:16 2000
+@@ -12,10 +12,10 @@
+ /* Make gcc agree with <machine/ansi.h> */
+
+ #undef SIZE_TYPE
+-#define SIZE_TYPE "unsigned int"
++#define SIZE_TYPE "unsigned long"
+
+ #undef PTRDIFF_TYPE
+-#define PTRDIFF_TYPE "int"
++#define PTRDIFF_TYPE "long"
+
+ #undef WCHAR_TYPE
+ #define WCHAR_TYPE "int"