From nobody Wed Sep 4 14:31:39 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 4WzQ0q70xbz5V17s; Wed, 04 Sep 2024 14:31:39 +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 4WzQ0q6ZVKz4CB5; Wed, 4 Sep 2024 14:31:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725460299; 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=6YbKeAtd9UD6qt+brbm+fRSADSkEE97QM9foawzEk3A=; b=mudxVylVUKk8W0htZ2Qs2mvwl6h/+9HFOadWekkBZNeK/E0RrohzQ5n3dSKmQ5Oy8r0ruj yTWnoXuRnTZ9pAsNf2QlU2vy5DoMKZsnnvwrMi4dM+bpkCD5VPh7aQQVHMqmPJgb/5IdcD PT1Lu/wMXtaoORm3/R/ugaWS20bszLEPo15agtMTsKM+Q+Pw10Wf+Xf1COHoWIcpCD+RqT mW7vF/P/B4SXftU2Y6bkyETz814Y/uqEw1lbx8dWR54uJTSprksgQkp2H1kKP4EO0UkTOv sBUPAWgK/ZLeM2QCfXeTCqim0RO5SEKTvQzV1ewt0Zl2zcN8Jngw+t7ZLUhDdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725460299; a=rsa-sha256; cv=none; b=IxKIPK1IyvrEBczM4ZE5tUKBmQnp4oJtQNVQMIW5BGF3/Jpb9+UA5ktjubLH82nDzus0Pf izZbQ/fc9NdBS0uinh9T98c85nHvnDeIPzcKBaboFpwghCUu0vFjVEqfOIPYk0z8oB2w7s aHTH+vKamWa2yDLi4eZjPFdF8ev7Rc7E2/iC9TIP/Gim/CrnLqglseyLtq70OKYmlHqsUL cCcgzZ9zDdZogm+DPC9pZFXB0rOGfp5q70aYaNkMRzUo91M2ark9XA3pH5NHP8go6p3lY2 bmSAtEXU/RyNpGimO1NU/QjbPlLhtcmKwdSA5mM+9lJTBvHfVRCWndaOD2SahA== 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=1725460299; 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=6YbKeAtd9UD6qt+brbm+fRSADSkEE97QM9foawzEk3A=; b=CQ8QujDvTYpZLc91g3zbuO1Q8oDkn1AM2oKOOZQEFED2BNv+8OruX1Wz9ad0+x8tJ0oFkM cxJuTwFvzakTntKsfs5EXjvz1jzNAHb5wRiFqVvbdaIPy2FESH7ycA9R/ZsdPrHFME9YBy 4UB+OGWfGqFHwM0CJppKfRz/Njaa9RHVxgz0FAzQU9yDVlsvam3HDkn62hqilXdFf9O4vr XBotdwtWEgGdOBgGpC4SBtP4n6jt6YDXNJpvXYTXJWdFfhCUU4YiUjsSpFbfWyqXkO9s57 ECwEVteR15hhGU6haVmte/wu5ghcO3UxzaSZaO4S6lhxQFPnnYXHgOc65/1zsQ== 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 4WzQ0q69q0zSgZ; Wed, 4 Sep 2024 14:31:39 +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 484EVd2j080740; Wed, 4 Sep 2024 14:31:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 484EVdQY080737; Wed, 4 Sep 2024 14:31:39 GMT (envelope-from git) Date: Wed, 4 Sep 2024 14:31:39 GMT Message-Id: <202409041431.484EVdQY080737@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: 546dc44194b4 - main - lang/gcc13: Update to 13.3.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: 546dc44194b4f9e7c62d71e140d8279243c7ec38 Auto-Submitted: auto-generated The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=546dc44194b4f9e7c62d71e140d8279243c7ec38 commit 546dc44194b4f9e7c62d71e140d8279243c7ec38 Author: Lorenzo Salvadore AuthorDate: 2024-08-20 12:52:47 +0000 Commit: Lorenzo Salvadore CommitDate: 2024-09-04 14:31:01 +0000 lang/gcc13: Update to 13.3.0 Changes: https://gcc.gnu.org/gcc-13/changes.html#13.3 PR: 281091 Tested by: exp-run (antoine) --- lang/gcc13/Makefile | 3 +- lang/gcc13/distinfo | 6 ++-- lang/gcc13/files/patch-gcc_configure | 22 ++++++++++++++ lang/gcc13/files/patch-gcc_system.h | 42 --------------------------- lang/gcc13/files/patch-libcc1_libcc1plugin.cc | 19 ------------ lang/gcc13/files/patch-libcc1_libcp1plugin.cc | 19 ------------ 6 files changed, 26 insertions(+), 85 deletions(-) diff --git a/lang/gcc13/Makefile b/lang/gcc13/Makefile index 3c0a3841de61..0f51ab5ac4d6 100644 --- a/lang/gcc13/Makefile +++ b/lang/gcc13/Makefile @@ -1,6 +1,5 @@ PORTNAME= gcc -PORTVERSION= 13.2.0 -PORTREVISION= 4 +PORTVERSION= 13.3.0 CATEGORIES= lang MASTER_SITES= GCC PKGNAMESUFFIX= ${SUFFIX} diff --git a/lang/gcc13/distinfo b/lang/gcc13/distinfo index e4267f08bad6..e9112970e8fe 100644 --- a/lang/gcc13/distinfo +++ b/lang/gcc13/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1692015565 -SHA256 (gcc-13.2.0.tar.xz) = e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da -SIZE (gcc-13.2.0.tar.xz) = 87858592 +TIMESTAMP = 1724158317 +SHA256 (gcc-13.3.0.tar.xz) = 0845e9621c9543a13f484e94584a49ffc0129970e9914624235fc1d061a0c083 +SIZE (gcc-13.3.0.tar.xz) = 87909952 diff --git a/lang/gcc13/files/patch-gcc_configure b/lang/gcc13/files/patch-gcc_configure new file mode 100644 index 000000000000..cc60593ba6f7 --- /dev/null +++ b/lang/gcc13/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/gcc13/files/patch-gcc_system.h b/lang/gcc13/files/patch-gcc_system.h deleted file mode 100644 index d31fb72931b5..000000000000 --- a/lang/gcc13/files/patch-gcc_system.h +++ /dev/null @@ -1,42 +0,0 @@ ---- gcc/system.h.orig 2023-04-26 07:09:40 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 -@@ -243,6 +230,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 diff --git a/lang/gcc13/files/patch-libcc1_libcc1plugin.cc b/lang/gcc13/files/patch-libcc1_libcc1plugin.cc deleted file mode 100644 index d54adddb021b..000000000000 --- a/lang/gcc13/files/patch-libcc1_libcc1plugin.cc +++ /dev/null @@ -1,19 +0,0 @@ ---- libcc1/libcc1plugin.cc.orig 2023-07-27 08:13:07 UTC -+++ libcc1/libcc1plugin.cc -@@ -32,6 +32,7 @@ - #undef PACKAGE_VERSION - - #define INCLUDE_MEMORY -+#define INCLUDE_VECTOR - #include "gcc-plugin.h" - #include "system.h" - #include "coretypes.h" -@@ -68,8 +69,6 @@ - #include "rpc.hh" - #include "gcc-c-interface.h" - #include "context.hh" -- --#include - - using namespace cc1_plugin; - diff --git a/lang/gcc13/files/patch-libcc1_libcp1plugin.cc b/lang/gcc13/files/patch-libcc1_libcp1plugin.cc deleted file mode 100644 index 0f3d2d161404..000000000000 --- a/lang/gcc13/files/patch-libcc1_libcp1plugin.cc +++ /dev/null @@ -1,19 +0,0 @@ ---- libcc1/libcp1plugin.cc.orig 2023-07-27 08:13:07 UTC -+++ libcc1/libcp1plugin.cc -@@ -33,6 +33,7 @@ - #undef PACKAGE_VERSION - - #define INCLUDE_MEMORY -+#define INCLUDE_VECTOR - #include "gcc-plugin.h" - #include "system.h" - #include "coretypes.h" -@@ -70,8 +71,6 @@ - #include "marshall-cp.hh" - #include "rpc.hh" - #include "context.hh" -- --#include - - using namespace cc1_plugin; -