git: 2c87bf1deb36 - main - lang/gcc15-devel: Fix stage2 fail on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Nov 2024 10:33:47 UTC
The branch main has been updated by salvadore:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2c87bf1deb36339194333ca8720483c0c8aa0ec4
commit 2c87bf1deb36339194333ca8720483c0c8aa0ec4
Author: John F. Carr <jfc@mit.edu>
AuthorDate: 2024-11-23 12:41:34 +0000
Commit: Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-11-28 10:32:29 +0000
lang/gcc15-devel: Fix stage2 fail on aarch64
PR: 282797
---
.../files/patch-libgcc_enable-execute-stack-mprotect.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/lang/gcc15-devel/files/patch-libgcc_enable-execute-stack-mprotect.c b/lang/gcc15-devel/files/patch-libgcc_enable-execute-stack-mprotect.c
new file mode 100644
index 000000000000..4645f084fef0
--- /dev/null
+++ b/lang/gcc15-devel/files/patch-libgcc_enable-execute-stack-mprotect.c
@@ -0,0 +1,15 @@
+--- 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)
+ {