summaryrefslogtreecommitdiff
path: root/lang/gcc7
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2019-08-06 06:16:14 +0000
committermaya <maya@pkgsrc.org>2019-08-06 06:16:14 +0000
commit4cdfcffb081236296e34099a12c0819b7f841332 (patch)
treec34268cb2a9edb0bf5085780561bcee9f0926411 /lang/gcc7
parenta4c8127224c7d25717ee9ffca0f22af8a6f271b6 (diff)
downloadpkgsrc-4cdfcffb081236296e34099a12c0819b7f841332.tar.gz
gcc{48,49,5,6}: add patch to avoid fragile include guard logic
for ansi.h on netbsd. gcc{7,8}: document same patch that already existed was upstreamed. This patch is necessary to build GCC on NetBSD >= 9.0, since changes to ansi.h resulted in not using the same include guards. Fixes PR toolchain/54362
Diffstat (limited to 'lang/gcc7')
-rw-r--r--lang/gcc7/distinfo4
-rw-r--r--lang/gcc7/patches/patch-gcc_ginclude_stddef.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/lang/gcc7/distinfo b/lang/gcc7/distinfo
index 14895416f36..5f5df4895d6 100644
--- a/lang/gcc7/distinfo
+++ b/lang/gcc7/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2019/06/14 09:42:35 adam Exp $
+$NetBSD: distinfo,v 1.16 2019/08/06 06:16:15 maya Exp $
SHA1 (gcc-7.4.0.tar.xz) = bf09553cfa08ae6e29dfbbd541e5c69c3cbc6c66
RMD160 (gcc-7.4.0.tar.xz) = 77d3cdafe7df748fa484a300e9513acb3ee2c2e1
@@ -29,7 +29,7 @@ SHA1 (patch-gcc_config_t-netbsd) = 802ad5706aa7ca9629f8e237f08fbb1569d28846
SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
SHA1 (patch-gcc_configure) = 15fb7af267b79965f83bc64ce8aad1279b0ea52d
SHA1 (patch-gcc_ggc-common.c) = a5d2dba635859f5d680c3f80d7c30b42461c752b
-SHA1 (patch-gcc_ginclude_stddef.h) = 583b7931aad14058be75569b0138efad8ac74113
+SHA1 (patch-gcc_ginclude_stddef.h) = fb1f83801e0f5bcec110667dc868c47ff2d10343
SHA1 (patch-gcc_lto_lto.c) = 825b632e2a7ff5777d4fbfdcf6f0ea3f64c4742b
SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
SHA1 (patch-gcc_targhooks.c) = 6268d548058b6325ead1115f78c2c17c6d786296
diff --git a/lang/gcc7/patches/patch-gcc_ginclude_stddef.h b/lang/gcc7/patches/patch-gcc_ginclude_stddef.h
index 563d198dbed..560f06abcef 100644
--- a/lang/gcc7/patches/patch-gcc_ginclude_stddef.h
+++ b/lang/gcc7/patches/patch-gcc_ginclude_stddef.h
@@ -1,8 +1,10 @@
-$NetBSD: patch-gcc_ginclude_stddef.h,v 1.1 2018/06/17 19:50:52 maya Exp $
+$NetBSD: patch-gcc_ginclude_stddef.h,v 1.2 2019/08/06 06:16:15 maya Exp $
handle netbsd/arm not using the same include guards for
ansi.h as other archs
+Upstreamed in 2018-06-20 (GCC 9.x)
+
--- gcc/ginclude/stddef.h.orig 2017-01-01 12:07:43.000000000 +0000
+++ gcc/ginclude/stddef.h
@@ -46,9 +46,7 @@ see the files COPYING3 and COPYING.RUNTI