git: d233f442d550 - main - lang/gcc12-devel: Update to the 20211107 snapshot of GCC 12.0.0

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Fri, 12 Nov 2021 09:26:31 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d233f442d55000467891710e6920250044320d5b

commit d233f442d55000467891710e6920250044320d5b
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2021-11-12 09:24:11 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2021-11-12 09:26:10 +0000

    lang/gcc12-devel: Update to the 20211107 snapshot of GCC 12.0.0
    
    Based on my upstream work which landed in this snapshot adjust
    our local files/patch-libsanitzer-buildfix (which then should go
    away as a next step).
---
 lang/gcc12-devel/Makefile                         |  2 +-
 lang/gcc12-devel/distinfo                         |  6 +++---
 lang/gcc12-devel/files/patch-libsanitzer-buildfix | 23 ++++++++++++-----------
 3 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile
index 30651312a87b..0a8abd09bcf3 100644
--- a/lang/gcc12-devel/Makefile
+++ b/lang/gcc12-devel/Makefile
@@ -1,7 +1,7 @@
 # Created by: Gerald Pfeifer <gerald@FreeBSD.org>
 
 PORTNAME=	gcc
-PORTVERSION=	12.0.0.s20211010
+PORTVERSION=	12.0.0.s20211107
 CATEGORIES=	lang
 MASTER_SITES=	GCC/snapshots/${DIST_VERSION}
 PKGNAMESUFFIX=	${SUFFIX}-devel
diff --git a/lang/gcc12-devel/distinfo b/lang/gcc12-devel/distinfo
index 91fe8636db99..0329d89df285 100644
--- a/lang/gcc12-devel/distinfo
+++ b/lang/gcc12-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634382602
-SHA256 (gcc-12-20211010.tar.xz) = 8020b83d443834a924f056d6758c3f6ab3327edd87e5d6bc1e2fe17ba931d9aa
-SIZE (gcc-12-20211010.tar.xz) = 77142520
+TIMESTAMP = 1636703596
+SHA256 (gcc-12-20211107.tar.xz) = 62ba58b3c1871a3a71b68f21ec9648dd524b6409f86917a46c2bf1f9ed568c82
+SIZE (gcc-12-20211107.tar.xz) = 77433948
diff --git a/lang/gcc12-devel/files/patch-libsanitzer-buildfix b/lang/gcc12-devel/files/patch-libsanitzer-buildfix
index 9446200b6c73..6f7049781912 100644
--- a/lang/gcc12-devel/files/patch-libsanitzer-buildfix
+++ b/lang/gcc12-devel/files/patch-libsanitzer-buildfix
@@ -1,20 +1,21 @@
-This is a temporary hack to restore bootstrap.
-
 The latest libsanitizer update added specific support for FreeBSD
 which includes <md5.h>. Alas GCC features it's own <md5.h> which
 is picked up, but does not provide everything necessary - boom.
 
+I have adjusted GCC's <md5.h> to accomodate for that and we now only
+need to activate that.
+
 Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675
 
 --- UTC
 --- libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.cpp
 +++ libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.cpp
-@@ -69,7 +69,7 @@
- #include <semaphore.h>
- #include <signal.h>
- #include <stddef.h>
--#include <md5.h>
-+#include "/usr/include/md5.h"
- #include <sha224.h>
- #include <sha256.h>
- #include <sha384.h>
+@@ -15,6 +15,8 @@
+ 
+ #if SANITIZER_FREEBSD
+ 
++#define USE_SYSTEM_MD5
++
+ #include <sys/capsicum.h>
+ #include <sys/consio.h>
+ #include <sys/filio.h>