From nobody Tue Sep 03 15:45:45 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wyqhn2Sldz5TSHm; Tue, 03 Sep 2024 15:45:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wyqhn1n4pz55ss; Tue, 3 Sep 2024 15:45:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725378345; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8BBBooNxwt9Ts4cb7fJx94xLEnY5+qFFqXhzilArkKM=; b=sNds/I9wzkQaZc1wzqNay64o5svVjwPUGVMZU3ApuvcOpjWyGKByEnZXbW+mXoeHqN0ELC AEBpNw89uK5mUZ38G6ZJG1/Vi2E4pys36nlEzM9RQeCENlG3R7+KV4Z6tQFDj5TvhxNCOO rnzqCn/Nd27PIxAwvS37kJy/LAjbF+5B10Ua1j7qQULhq4QmhTSTalQDwIVuRXv5hcYRr9 9BjEccojogx8/MHLr1Qj5unosyExivWlTHtPa7OLfECvQb7KjV39mRAnhFE1nrvSFLQEiA TKnyzbR2p+Aow183ozi3Y9CfKBIDkZ/xHWkvYcKhffPIWQaEAFZJQWqJWdqYLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725378345; a=rsa-sha256; cv=none; b=WQGvmFKjtp+lnd7dJNjzTk93ZAzrq0b5cEk0K214AH71vFXYxStpgqDr5v0R3gNOtxmnT5 1BEMBg+etTdxCO2j3BsTnL5ZMzSTODhNussVWQaypVZaRi+KloSrMFgVBqMTUGZ7CORE0Y /5/i9dMvYglpyuDPDO37I6UqWLwuoXvXLsXp7O6t1Qd095evWlBoKto2sH5kgymEDO93B6 yqGmpnNG3vb3eb3JH5RB/RnQdqh0E0VzToKno1X8xRCBWvOquVO5KoRIQ7AinmAv91Gdg+ MznDUpWA9FxR3oTu4w6vFfcj4GPeXFezVT3whhY2IQTiTZPsaMO9M2msvG1stA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725378345; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8BBBooNxwt9Ts4cb7fJx94xLEnY5+qFFqXhzilArkKM=; b=vrqS6j7Z5q8ktP7c1GAGbwLdeoDuYIJGXydTXPfkFn+NQ33LSCHavQOW35yn7G5RSNFrDV 3SaziFUZ8K4TEVugLXPyFKZtLSVB+uK23FOMjbXQe+LWpaMDFgRf4MQqJ986uztCi/owro fuGQoyPuoldk6U/zb7X3OoUuyuLXroZ+XOq5wobk/x3tlpPoi4yMQJEPgULjClJXyaYTIj sNwDG6Egq5FSs3dfoGUaCHl1QGIvRDB73sa/EAthiYNZoqh1uOL1DiOBI/ZNAhIXaYtKrk +Udc5OOgOWLJ2tZCBqZ3L3eZd/ChjgJWRx03s4uADiZf2kR7GLxxLc0Unab22Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wyqhn1Gfrzn0D; Tue, 3 Sep 2024 15:45:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 483FjjAZ055924; Tue, 3 Sep 2024 15:45:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483Fjj1E055921; Tue, 3 Sep 2024 15:45:45 GMT (envelope-from git) Date: Tue, 3 Sep 2024 15:45:45 GMT Message-Id: <202409031545.483Fjj1E055921@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lorenzo Salvadore Subject: git: 9a71c5a6bd3b - main - lang/gcc11: Update to 11.5.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9a71c5a6bd3b3a5365a6a94c191f2e7472677f01 Auto-Submitted: auto-generated The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a71c5a6bd3b3a5365a6a94c191f2e7472677f01 commit 9a71c5a6bd3b3a5365a6a94c191f2e7472677f01 Author: Lorenzo Salvadore AuthorDate: 2024-08-20 14:12:21 +0000 Commit: Lorenzo Salvadore CommitDate: 2024-09-03 15:45:41 +0000 lang/gcc11: Update to 11.5.0 Changes: https://gcc.gnu.org/gcc-11/changes.html#11.5 PR: 281091 Tested by: exp-run (antoine) --- lang/gcc11/Makefile | 3 +-- lang/gcc11/distinfo | 6 +++--- lang/gcc11/files/patch-gcc_configure | 22 +++++++++++++++++++ lang/gcc11/files/patch-gcc_system.h | 42 ------------------------------------ 4 files changed, 26 insertions(+), 47 deletions(-) diff --git a/lang/gcc11/Makefile b/lang/gcc11/Makefile index 56ecc447de4c..be7b2ee7a7d9 100644 --- a/lang/gcc11/Makefile +++ b/lang/gcc11/Makefile @@ -1,6 +1,5 @@ PORTNAME= gcc -PORTVERSION= 11.4.0 -PORTREVISION= 1 +PORTVERSION= 11.5.0 CATEGORIES= lang MASTER_SITES= GCC PKGNAMESUFFIX= ${SUFFIX} diff --git a/lang/gcc11/distinfo b/lang/gcc11/distinfo index b7d650755883..1fd189e160d9 100644 --- a/lang/gcc11/distinfo +++ b/lang/gcc11/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1692015163 -SHA256 (gcc-11.4.0.tar.xz) = 3f2db222b007e8a4a23cd5ba56726ef08e8b1f1eb2055ee72c1402cea73a8dd9 -SIZE (gcc-11.4.0.tar.xz) = 79837032 +TIMESTAMP = 1724163102 +SHA256 (gcc-11.5.0.tar.xz) = a6e21868ead545cf87f0c01f84276e4b5281d672098591c1c896241f09363478 +SIZE (gcc-11.5.0.tar.xz) = 82399864 diff --git a/lang/gcc11/files/patch-gcc_configure b/lang/gcc11/files/patch-gcc_configure new file mode 100644 index 000000000000..cc60593ba6f7 --- /dev/null +++ b/lang/gcc11/files/patch-gcc_configure @@ -0,0 +1,22 @@ +Enable support for .init_array and .fini_array, which FreeBSD supports +since commit 83aa9cc00c2d83d05a0efe7a1496d8aab4a153bb in the src +repository. + +There __FreeBSD_version is 1000009, so we start enabling the support +from __FreeBSD_version == 1000010. +--- gcc/configure.orig 2023-05-11 22:33:34 UTC ++++ gcc/configure +@@ -24214,6 +24214,13 @@ EOF + #else + # if defined __sun__ && defined __svr4__ + /* Solaris ld.so.1 supports .init_array/.fini_array since Solaris 8. */ ++# elif defined __FreeBSD__ ++# include ++# if __FreeBSD_version >= 1000010 ++ /* FreeBSD supports .init_array/.fini_array since FreeBSD 10. */ ++# else ++# error The C library not known to support .init_array/.fini_array ++# endif + # else + # error The C library not known to support .init_array/.fini_array + # endif diff --git a/lang/gcc11/files/patch-gcc_system.h b/lang/gcc11/files/patch-gcc_system.h deleted file mode 100644 index 87259b346ecc..000000000000 --- a/lang/gcc11/files/patch-gcc_system.h +++ /dev/null @@ -1,42 +0,0 @@ ---- gcc/system.h.orig 2022-04-21 07:58:53 UTC -+++ gcc/system.h -@@ -203,19 +203,6 @@ extern int fprintf_unlocked (FILE *, const char *, ... - #endif - #endif - --/* There are an extraordinary number of issues with . -- The last straw is that it varies with the locale. Use libiberty's -- replacement instead. */ --#include "safe-ctype.h" -- --#include -- --#include -- --#if !defined (errno) && defined (HAVE_DECL_ERRNO) && !HAVE_DECL_ERRNO --extern int errno; --#endif -- - #ifdef __cplusplus - #if defined (INCLUDE_ALGORITHM) || !defined (HAVE_SWAP_IN_UTILITY) - # include -@@ -242,6 +229,19 @@ extern int errno; - # include - # include - # include -+#endif -+ -+/* There are an extraordinary number of issues with . -+ The last straw is that it varies with the locale. Use libiberty's -+ replacement instead. */ -+#include "safe-ctype.h" -+ -+#include -+ -+#include -+ -+#if !defined (errno) && defined (HAVE_DECL_ERRNO) && !HAVE_DECL_ERRNO -+extern int errno; - #endif - - /* Some of glibc's string inlines cause warnings. Plus we'd rather