summaryrefslogtreecommitdiff
path: root/lang/gcc16-devel
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc16-devel')
-rw-r--r--lang/gcc16-devel/Makefile6
-rw-r--r--lang/gcc16-devel/distinfo6
-rw-r--r--lang/gcc16-devel/files/patch-libgcc_enable-execute-stack-mprotect.c15
-rw-r--r--lang/gcc16-devel/files/patch-libgcc_unwind-dw2-fde-dip.c23
4 files changed, 27 insertions, 23 deletions
diff --git a/lang/gcc16-devel/Makefile b/lang/gcc16-devel/Makefile
index a16af13a1f09..1aaaabaca202 100644
--- a/lang/gcc16-devel/Makefile
+++ b/lang/gcc16-devel/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gcc
-PORTVERSION= 16.0.0.s20250427
+PORTVERSION= 16.0.0.s20250817
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
@@ -81,10 +81,6 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.elif ${ARCH} == powerpc64
CONFIGURE_ARGS+= --with-abi=elfv2
-USE_GCC= yes
-
-.elif ${ARCH} == powerpc64le
-USE_GCC= yes
.endif
.if ${ARCH} == i386
diff --git a/lang/gcc16-devel/distinfo b/lang/gcc16-devel/distinfo
index 6fcbe70fb548..6bf89a92cf48 100644
--- a/lang/gcc16-devel/distinfo
+++ b/lang/gcc16-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745932552
-SHA256 (gcc-16-20250427.tar.xz) = 545b46c123dcc303c2bcd319ceda174733c30cd4574f8ed732f582c3aba7af5e
-SIZE (gcc-16-20250427.tar.xz) = 92158556
+TIMESTAMP = 1755592857
+SHA256 (gcc-16-20250817.tar.xz) = e321396b6b18996f7a87f7c6b296f3e5b0a6c0cd763cc8b7773cde7fd1ff3ff4
+SIZE (gcc-16-20250817.tar.xz) = 95454224
diff --git a/lang/gcc16-devel/files/patch-libgcc_enable-execute-stack-mprotect.c b/lang/gcc16-devel/files/patch-libgcc_enable-execute-stack-mprotect.c
deleted file mode 100644
index 4645f084fef0..000000000000
--- a/lang/gcc16-devel/files/patch-libgcc_enable-execute-stack-mprotect.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- libgcc/enable-execute-stack-mprotect.c.orig 2024-11-23 12:39:04 UTC
-+++ libgcc/enable-execute-stack-mprotect.c
-@@ -30,10 +30,11 @@ static int need_enable_exec_stack;
-
- static int need_enable_exec_stack;
-
--static void check_enabling (void) __attribute__ ((unused));
- extern void __enable_execute_stack (void *);
-
- #if defined __sun__ && defined __svr4__
-+static void check_enabling (void) __attribute__ ((unused));
-+
- static void __attribute__ ((constructor))
- check_enabling (void)
- {
diff --git a/lang/gcc16-devel/files/patch-libgcc_unwind-dw2-fde-dip.c b/lang/gcc16-devel/files/patch-libgcc_unwind-dw2-fde-dip.c
new file mode 100644
index 000000000000..66452b37de0f
--- /dev/null
+++ b/lang/gcc16-devel/files/patch-libgcc_unwind-dw2-fde-dip.c
@@ -0,0 +1,23 @@
+FreeBSD defines ElfW(x) to translate Linux's convention to FreeBSD's convention.
+GCC defines ElfW to convert its convention to FreeBSD's convention. This patch
+removes the conversion defined by GCC so that the FreeBSD conversion only is
+applied.
+
+--- libgcc/unwind-dw2-fde-dip.c.orig 2025-05-16 15:47:38 UTC
++++ libgcc/unwind-dw2-fde-dip.c
+@@ -59,13 +59,13 @@
+
+ #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
+ && defined(TARGET_DL_ITERATE_PHDR) \
+- && defined(__linux__)
++ && (defined(__linux__) || defined(__FreeBSD__))
+ # define USE_PT_GNU_EH_FRAME
+ #endif
+
+ #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
+ && defined(TARGET_DL_ITERATE_PHDR) \
+- && (defined(__DragonFly__) || defined(__FreeBSD__))
++ && defined(__DragonFly__)
+ # define ElfW __ElfN
+ # define USE_PT_GNU_EH_FRAME
+ #endif