summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-03-28 21:19:01 +0000
committerjoerg <joerg@pkgsrc.org>2013-03-28 21:19:01 +0000
commit814f3c6f4febb00062668914dab07a76664b595b (patch)
tree8120bc7fc4ba7a3e51708389e40a914bdec8caec /cross
parent6d742185bbf416ff8e118690ee76992da445109b (diff)
downloadpkgsrc-814f3c6f4febb00062668914dab07a76664b595b.tar.gz
Fix inline use.
Diffstat (limited to 'cross')
-rw-r--r--cross/h8300-hms-gcc/distinfo3
-rw-r--r--cross/h8300-hms-gcc/patches/patch-.._gcc-3.1_gcc_cp_cfns.h24
2 files changed, 26 insertions, 1 deletions
diff --git a/cross/h8300-hms-gcc/distinfo b/cross/h8300-hms-gcc/distinfo
index e1158e412ab..f407d05a437 100644
--- a/cross/h8300-hms-gcc/distinfo
+++ b/cross/h8300-hms-gcc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2012/01/02 01:25:25 dholland Exp $
+$NetBSD: distinfo,v 1.8 2013/03/28 21:19:01 joerg Exp $
SHA1 (gcc-core-3.1.tar.gz) = e93048803611b5c1e0dd745d81b43d6e34bca026
RMD160 (gcc-core-3.1.tar.gz) = d6fe75142280778c952af0717acfa4a2cc500623
@@ -12,6 +12,7 @@ Size (newlib-1.10.0.tar.gz) = 3647395 bytes
SHA1 (h8300-hms-gcc-3.1-1.patch) = 6a5ad1f579ca71cfee114a02df26a58103cf4f04
RMD160 (h8300-hms-gcc-3.1-1.patch) = ab3114544c8a6bcd531e4b5b7a4fed8aaf8e9150
Size (h8300-hms-gcc-3.1-1.patch) = 61226 bytes
+SHA1 (patch-.._gcc-3.1_gcc_cp_cfns.h) = 60990c54e11caf5d7d8071ae1cab3612a6e6ae50
SHA1 (patch-aa) = 10a9769d913c207469e891d1bd49ba492e37d226
SHA1 (patch-ab) = c73ed16f2faf661e4f39a98f68c51c66e8101b19
SHA1 (patch-ac) = c4db8deb5cebe30b2ca16f2c9b07287ea3323b2e
diff --git a/cross/h8300-hms-gcc/patches/patch-.._gcc-3.1_gcc_cp_cfns.h b/cross/h8300-hms-gcc/patches/patch-.._gcc-3.1_gcc_cp_cfns.h
new file mode 100644
index 00000000000..b46159bc400
--- /dev/null
+++ b/cross/h8300-hms-gcc/patches/patch-.._gcc-3.1_gcc_cp_cfns.h
@@ -0,0 +1,24 @@
+$NetBSD: patch-.._gcc-3.1_gcc_cp_cfns.h,v 1.1 2013/03/28 21:19:02 joerg Exp $
+
+--- ../gcc-3.1/gcc/cp/cfns.h.orig 2013-03-28 14:02:55.000000000 +0000
++++ ../gcc-3.1/gcc/cp/cfns.h
+@@ -4,9 +4,6 @@
+ __inline
+ #endif
+ static unsigned int hash PARAMS ((const char *, unsigned int));
+-#ifdef __GNUC__
+-__inline
+-#endif
+ const char * libc_name_p PARAMS ((const char *, unsigned int));
+ /* maximum key range = 1020, duplicates = 1 */
+
+@@ -69,9 +66,6 @@ hash (str, len)
+ return hval + asso_values[(unsigned char)str[len - 1]];
+ }
+
+-#ifdef __GNUC__
+-__inline
+-#endif
+ const char *
+ libc_name_p (str, len)
+ register const char *str;