diff options
author | joerg <joerg@pkgsrc.org> | 2014-05-27 09:53:37 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-05-27 09:53:37 +0000 |
commit | d5729dc74cecb79398f00abdc14fd17fa6ec0fca (patch) | |
tree | c3d9c840abff426a3eddece9d1aa261e561b905f /cross | |
parent | 71d72c17a7e55e8a2c10fc5f4db8a53720f26517 (diff) | |
download | pkgsrc-d5729dc74cecb79398f00abdc14fd17fa6ec0fca.tar.gz |
Be a bit more friendly toward libc++.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/gcc-mips-current/distinfo | 3 | ||||
-rw-r--r-- | cross/gcc-mips-current/patches/patch-gcc_system.h | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/cross/gcc-mips-current/distinfo b/cross/gcc-mips-current/distinfo index 1189a8bcd26..c9cc2206bcd 100644 --- a/cross/gcc-mips-current/distinfo +++ b/cross/gcc-mips-current/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1 2014/03/31 09:49:31 martin Exp $ +$NetBSD: distinfo,v 1.2 2014/05/27 09:53:37 joerg Exp $ SHA1 (gcc-4.9-20140330.tar.bz2) = ebe424891d2eb96b346b14fde25d99c68d6574c7 RMD160 (gcc-4.9-20140330.tar.bz2) = 44828ed5fdc4d4d935a2238de445be96cdf90598 @@ -7,5 +7,6 @@ SHA1 (patch-gcc_config.host) = 1b1e11cd199eb93f49443d51c0063b09b7327858 SHA1 (patch-gcc_config_host-netbsd.c) = 8f13b09dd7006d456cd1c66e895be504e9537880 SHA1 (patch-gcc_config_mips_netbsd.h) = fd6ef107013e003aa7ffe86449e356e63bf589fb SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3 +SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783 SHA1 (patch-libgcc_config.host) = 353f4d17581d619bb4fd55ad27ab4576f28023b7 SHA1 (patch-libgcc_config_t-hardfp) = e6341eb19fedcbe63bbfbc8a234ddf3e52ca9866 diff --git a/cross/gcc-mips-current/patches/patch-gcc_system.h b/cross/gcc-mips-current/patches/patch-gcc_system.h new file mode 100644 index 00000000000..4c387e6b016 --- /dev/null +++ b/cross/gcc-mips-current/patches/patch-gcc_system.h @@ -0,0 +1,27 @@ +$NetBSD: patch-gcc_system.h,v 1.1 2014/05/27 09:53:37 joerg Exp $ + +--- gcc/system.h.orig 2013-04-29 18:37:29.000000000 +0000 ++++ gcc/system.h +@@ -72,18 +72,22 @@ along with GCC; see the file COPYING3. + + #if defined HAVE_DECL_PUTC_UNLOCKED && HAVE_DECL_PUTC_UNLOCKED + ++# if !defined(__NetBSD__) + # ifdef HAVE_PUTC_UNLOCKED + # undef putc + # define putc(C, Stream) putc_unlocked (C, Stream) + # endif ++# endif + # ifdef HAVE_PUTCHAR_UNLOCKED + # undef putchar + # define putchar(C) putchar_unlocked (C) + # endif ++# if !defined(__NetBSD__) + # ifdef HAVE_GETC_UNLOCKED + # undef getc + # define getc(Stream) getc_unlocked (Stream) + # endif ++# endif + # ifdef HAVE_GETCHAR_UNLOCKED + # undef getchar + # define getchar() getchar_unlocked () |