svn commit: r547202 - in head/devel/freebsd-gcc6: . files
John Baldwin
jhb at FreeBSD.org
Mon Aug 31 18:07:19 UTC 2020
Author: jhb (src,doc committer)
Date: Mon Aug 31 18:07:17 2020
New Revision: 547202
URL: https://svnweb.freebsd.org/changeset/ports/547202
Log:
Fix build of amd64-gcc6 and i386-gcc6 with LLVM 11.
clang errors when assigning NULL (nullptr) to a bool.
Reviewed by: zeising
Differential Revision: https://reviews.freebsd.org/D26222
Added:
head/devel/freebsd-gcc6/files/patch-gcc-config-i386-386.c (contents, props changed)
Modified:
head/devel/freebsd-gcc6/Makefile
Modified: head/devel/freebsd-gcc6/Makefile
==============================================================================
--- head/devel/freebsd-gcc6/Makefile Mon Aug 31 18:07:12 2020 (r547201)
+++ head/devel/freebsd-gcc6/Makefile Mon Aug 31 18:07:17 2020 (r547202)
@@ -2,7 +2,7 @@
PORTNAME= gcc
PORTVERSION= 6.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
PKGNAMEPREFIX= ${TARGETARCH}-
Added: head/devel/freebsd-gcc6/files/patch-gcc-config-i386-386.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/freebsd-gcc6/files/patch-gcc-config-i386-386.c Mon Aug 31 18:07:17 2020 (r547202)
@@ -0,0 +1,11 @@
+--- gcc/config/i386/i386.c.orig 2020-08-28 09:37:26.849947000 -0700
++++ gcc/config/i386/i386.c 2020-08-28 09:37:51.260814000 -0700
+@@ -8747,7 +8747,7 @@ function_arg_advance_32 (CUMULATIVE_ARGS *cum, machine
+ HOST_WIDE_INT words)
+ {
+ int res = 0;
+- bool error_p = NULL;
++ bool error_p = false;
+
+ if (TARGET_IAMCU)
+ {
More information about the svn-ports-head
mailing list