summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjoerg <joerg>2014-05-27 09:53:37 +0000
committerjoerg <joerg>2014-05-27 09:53:37 +0000
commitb46cd7b7f1b2af95eac2ed253ffd911afbc6da16 (patch)
treeca65486eb57c3b4a335083d4ded476ea0d13046a /cross
parent5d624d362edf1de9dce28a9c24ff8e44a42a52f2 (diff)
downloadpkgsrc-b46cd7b7f1b2af95eac2ed253ffd911afbc6da16.tar.gz
Be a bit more friendly toward libc++.
Diffstat (limited to 'cross')
-rw-r--r--cross/gcc-mips-current/distinfo3
-rw-r--r--cross/gcc-mips-current/patches/patch-gcc_system.h27
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 ()