git: 06b81ba6804c - main - lang/gcc11: upgrade to 11.3.0

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 21 Apr 2022 17:25:39 UTC
The branch main has been updated by pkubaj:

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

commit 06b81ba6804ca9199f791548c2e57a2f0e851c01
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-21 17:11:46 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-21 17:11:46 +0000

    lang/gcc11: upgrade to 11.3.0
    
    This release fixes more than 189 bugs.
---
 lang/gcc11/Makefile                           |  9 ++------
 lang/gcc11/distinfo                           |  6 ++---
 lang/gcc11/files/patch-gcc_jit_jit-playback.c | 33 ---------------------------
 3 files changed, 5 insertions(+), 43 deletions(-)

diff --git a/lang/gcc11/Makefile b/lang/gcc11/Makefile
index 3d14c2ab2ea6..87f72649f377 100644
--- a/lang/gcc11/Makefile
+++ b/lang/gcc11/Makefile
@@ -1,8 +1,7 @@
 # Created by: Gerald Pfeifer <gerald@FreeBSD.org>
 
 PORTNAME=	gcc
-PORTVERSION=	11.2.0
-PORTREVISION=	2
+PORTVERSION=	11.3.0
 CATEGORIES=	lang
 MASTER_SITES=	GCC
 PKGNAMESUFFIX=	${SUFFIX}
@@ -58,12 +57,8 @@ CONFIGURE_ARGS+=	--disable-multilib
 .if ${ARCH} == amd64
 CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
 
-.elif ${ARCH} == powerpc64
-CONFIGURE_ENV+=	UNAME_m="powerpc64"
-. if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+.elif defined(PPC_ABI) && ${PPC_ABI} == ELFv2
 CONFIGURE_ARGS+=	--with-abi=elfv2
-. endif
-USE_GCC=	yes
 .endif
 
 LANGUAGES:=	c,c++,objc,fortran,jit
diff --git a/lang/gcc11/distinfo b/lang/gcc11/distinfo
index 1b3f9b6e8e16..998516274dab 100644
--- a/lang/gcc11/distinfo
+++ b/lang/gcc11/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1627539618
-SHA256 (gcc-11.2.0.tar.xz) = d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b
-SIZE (gcc-11.2.0.tar.xz) = 80888824
+TIMESTAMP = 1650537167
+SHA256 (gcc-11.3.0.tar.xz) = b47cf2818691f5b1e21df2bb38c795fac2cfbd640ede2d0a5e1c89e338a3ac39
+SIZE (gcc-11.3.0.tar.xz) = 81141364
diff --git a/lang/gcc11/files/patch-gcc_jit_jit-playback.c b/lang/gcc11/files/patch-gcc_jit_jit-playback.c
deleted file mode 100644
index 760b24746020..000000000000
--- a/lang/gcc11/files/patch-gcc_jit_jit-playback.c
+++ /dev/null
@@ -1,33 +0,0 @@
-From 7510c23c1ec53aa4a62705f0384079661342ff7b Mon Sep 17 00:00:00 2001
-From: Martin Liska <mliska@suse.cz>
-Date: Wed, 24 Nov 2021 10:15:34 +0100
-Subject: [PATCH 20/67] jit: Initialize function::m_blocks in ctor
-
-This resolves the problem reported here:
-https://mail.gnu.org/archive/html/bug-gnu-emacs/2021-11/msg00606.html
-https://bugzilla.opensuse.org/show_bug.cgi?id=1192951
-
-gcc/jit/ChangeLog:
-
-	* jit-playback.c (function): Initialize m_blocks vector.
----
- gcc/jit/jit-playback.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git gcc/jit/jit-playback.c gcc/jit/jit-playback.c
-index c6136301243..50db23df159 100644
---- gcc/jit/jit-playback.c
-+++ gcc/jit/jit-playback.c
-@@ -1481,7 +1481,8 @@ function (context *ctxt,
- : m_ctxt(ctxt),
-   m_inner_fndecl (fndecl),
-   m_inner_bind_expr (NULL),
--  m_kind (kind)
-+  m_kind (kind),
-+  m_blocks ()
- {
-   if (m_kind != GCC_JIT_FUNCTION_IMPORTED)
-     {
--- 
-2.35.2
-