Date: Fri, 23 Jan 2026 15:48:56 +0000 From: John Baldwin <jhb@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4be82b199fd3 - main - devel/freebsd_gcc13: Update to 13.3.0 Message-ID: <69739868.2713a.49e7f27d@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/ports/commit/?id=4be82b199fd300a9fa5f3248a09fc4b75c7e5c2f commit 4be82b199fd300a9fa5f3248a09fc4b75c7e5c2f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2026-01-23 15:48:07 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2026-01-23 15:48:40 +0000 devel/freebsd_gcc13: Update to 13.3.0 --- devel/freebsd-gcc13/Makefile | 3 +- devel/freebsd-gcc13/distinfo | 6 ++-- devel/freebsd-gcc13/files/patch-gcc_configure | 22 ++++++++++++++ devel/freebsd-gcc13/files/patch-gcc_system.h | 42 --------------------------- 4 files changed, 26 insertions(+), 47 deletions(-) diff --git a/devel/freebsd-gcc13/Makefile b/devel/freebsd-gcc13/Makefile index ac23b74c8990..e8ac43a12df6 100644 --- a/devel/freebsd-gcc13/Makefile +++ b/devel/freebsd-gcc13/Makefile @@ -1,6 +1,5 @@ PORTNAME= gcc -DISTVERSION= 13.2.0 -PORTREVISION= 2 +DISTVERSION= 13.3.0 CATEGORIES= devel MASTER_SITES= GCC PKGNAMEPREFIX= ${TARGETARCH}- diff --git a/devel/freebsd-gcc13/distinfo b/devel/freebsd-gcc13/distinfo index e4267f08bad6..1337d104f20b 100644 --- a/devel/freebsd-gcc13/distinfo +++ b/devel/freebsd-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 = 1767712072 +SHA256 (gcc-13.3.0.tar.xz) = 0845e9621c9543a13f484e94584a49ffc0129970e9914624235fc1d061a0c083 +SIZE (gcc-13.3.0.tar.xz) = 87909952 diff --git a/devel/freebsd-gcc13/files/patch-gcc_configure b/devel/freebsd-gcc13/files/patch-gcc_configure new file mode 100644 index 000000000000..cc60593ba6f7 --- /dev/null +++ b/devel/freebsd-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 <sys/param.h> ++# 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/devel/freebsd-gcc13/files/patch-gcc_system.h b/devel/freebsd-gcc13/files/patch-gcc_system.h deleted file mode 100644 index 5322885b8b2e..000000000000 --- a/devel/freebsd-gcc13/files/patch-gcc_system.h +++ /dev/null @@ -1,42 +0,0 @@ ---- gcc/system.h.orig 2023-05-08 12:14: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 <ctype.h>. -- The last straw is that it varies with the locale. Use libiberty's -- replacement instead. */ --#include "safe-ctype.h" -- --#include <sys/types.h> -- --#include <errno.h> -- --#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 <algorithm> -@@ -243,6 +230,19 @@ extern int errno; - # include <new> - # include <utility> - # include <type_traits> -+#endif -+ -+/* There are an extraordinary number of issues with <ctype.h>. -+ The last straw is that it varies with the locale. Use libiberty's -+ replacement instead. */ -+#include "safe-ctype.h" -+ -+#include <sys/types.h> -+ -+#include <errno.h> -+ -+#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 ratherhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69739868.2713a.49e7f27d>
