summaryrefslogtreecommitdiff
path: root/lang/gcc8/patches
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/gcc8/patches
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/gcc8/patches')
-rw-r--r--lang/gcc8/patches/patch-gcc_ginclude_stddef.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/gcc8/patches/patch-gcc_ginclude_stddef.h b/lang/gcc8/patches/patch-gcc_ginclude_stddef.h
index c748f33da1b..7dc097643d4 100644
--- a/lang/gcc8/patches/patch-gcc_ginclude_stddef.h
+++ b/lang/gcc8/patches/patch-gcc_ginclude_stddef.h
@@ -1,8 +1,10 @@
-$NetBSD: patch-gcc_ginclude_stddef.h,v 1.1 2018/11/10 11:45:27 mrg Exp $
+$NetBSD: patch-gcc_ginclude_stddef.h,v 1.2 2019/08/06 06:16:16 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