diff options
author | joerg <joerg@pkgsrc.org> | 2014-09-22 11:51:14 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-09-22 11:51:14 +0000 |
commit | a2f7226f54634c65615f18420562a60b96b049ff (patch) | |
tree | 76cddeeeda44f58a6c60cf3cb991017eaae39d17 /cross | |
parent | 5943c297a6fc4b13bdf15891d553ac73fe5c2933 (diff) | |
download | pkgsrc-a2f7226f54634c65615f18420562a60b96b049ff.tar.gz |
Drop explicit inline violating C99 semantics.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/h8300-elf-gcc34/distinfo | 3 | ||||
-rw-r--r-- | cross/h8300-elf-gcc34/patches/patch-gcc_cp_cfns.h | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/cross/h8300-elf-gcc34/distinfo b/cross/h8300-elf-gcc34/distinfo index 357cfd4ec6d..38e14b86321 100644 --- a/cross/h8300-elf-gcc34/distinfo +++ b/cross/h8300-elf-gcc34/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1 2013/04/30 13:26:34 ryoon Exp $ +$NetBSD: distinfo,v 1.2 2014/09/22 11:51:14 joerg Exp $ SHA1 (gcc-core-3.4.6.tar.gz) = 879d34505d25896c82a4f098d5512b3cd5df81cc RMD160 (gcc-core-3.4.6.tar.gz) = d24dadbda68df53940e3f0d98a8ab6ded6e64628 @@ -10,4 +10,5 @@ SHA1 (newlib-1.14.0.tar.gz) = edc50f5cda734b50c5431a2b8d1e579ac82ce3f9 RMD160 (newlib-1.14.0.tar.gz) = 6f2b3f32759925142421ddc069229eff857dd106 Size (newlib-1.14.0.tar.gz) = 7981432 bytes SHA1 (patch-gcc-gcc_config_h8300_h8300.c) = 4fa4462b2721a6b1afb3cf1ebfb07d943fccc11e +SHA1 (patch-gcc_cp_cfns.h) = 6d59433144f800681c28cb19d7edf024599913dd SHA1 (patch-libiberty_physmem.c) = b3d0c52bafaaa7774777c9394c5e12fa8392a591 diff --git a/cross/h8300-elf-gcc34/patches/patch-gcc_cp_cfns.h b/cross/h8300-elf-gcc34/patches/patch-gcc_cp_cfns.h new file mode 100644 index 00000000000..c84ca0aa218 --- /dev/null +++ b/cross/h8300-elf-gcc34/patches/patch-gcc_cp_cfns.h @@ -0,0 +1,24 @@ +$NetBSD: patch-gcc_cp_cfns.h,v 1.1 2014/09/22 11:51:14 joerg Exp $ + +--- gcc/cp/cfns.h.orig 2014-09-22 10:57:39.000000000 +0000 ++++ gcc/cp/cfns.h +@@ -34,9 +34,6 @@ + __inline + #endif + static unsigned int hash (const char *, unsigned int); +-#ifdef __GNUC__ +-__inline +-#endif + const char * libc_name_p (const char *, unsigned int); + /* maximum key range = 391, duplicates = 0 */ + +@@ -105,9 +102,6 @@ hash (register const char *str, register + return hval + asso_values[(unsigned char)str[len - 1]]; + } + +-#ifdef __GNUC__ +-__inline +-#endif + const char * + libc_name_p (register const char *str, register unsigned int len) + { |