Skip to contentSkip to conversation

package/dtach: fix GCC 15 build

PATCH Applied Florian Larysch 2 participants 2 messages Aug 16, 2025 – Aug 24, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dtach: fix GCC 15 build

GCC 15 making C23 the default causes the dtach build to fail. Import the upstream patch that fixes it.

---
 package/dtach/0001-fix-gcc-15-build.patch | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 package/dtach/0001-fix-gcc-15-build.patch
package/dtach/0001-fix-gcc-15-build.patch new file +27 -0
new file mode 100644
index 0000000000..4da6abb44e
@@ -0,0 +1,27 @@
+From 6d80909a8c0fd19717010a3c76fec560f988ca48 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <[email protected]>
+Date: Mon, 9 Dec 2024 12:35:09 +0000
+Subject: [PATCH] fix gcc-15 build
+
+Upstream: https://github.com/crigler/dtach/commit/6d80909a8c0fd19717010a3c76fec560f988ca48
+Signed-off-by: Florian Larysch <[email protected]>
+---
+ attach.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/attach.c b/attach.c
+index 41a696c..e4a46bd 100644
+--- a/attach.c
++++ b/attach.c
+@@ -96,7 +96,7 @@ die(int sig)
+ 
+ /* Window size change. */
+ static RETSIGTYPE
+-win_change()
++win_change(int sig)
+ {
+ 	signal(SIGWINCH, win_change);
+ 	win_changed = 1;
+-- 
+2.50.1
+
Signature · 6 lines
2.50.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Florian, All,

Le 16/08/2025 à 23:34, Florian Larysch a écrit :

Quoted 4 lines

GCC 15 making C23 the default causes the dtach build to fail. Import the upstream patch that fixes it.

Applied to master, thanks.

Best regards,
Romain

Quoted 29 lines
---
 package/dtach/0001-fix-gcc-15-build.patch | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 package/dtach/0001-fix-gcc-15-build.patch
package/dtach/0001-fix-gcc-15-build.patch new file +17 -0
new file mode 100644
index 0000000000..4da6abb44e
@@ -0,0 +1,27 @@
+From 6d80909a8c0fd19717010a3c76fec560f988ca48 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <[email protected]>
+Date: Mon, 9 Dec 2024 12:35:09 +0000
+Subject: [PATCH] fix gcc-15 build
+
+Upstream: https://github.com/crigler/dtach/commit/6d80909a8c0fd19717010a3c76fec560f988ca48
+Signed-off-by: Florian Larysch <[email protected]>
+---
+ attach.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/attach.c b/attach.c
+index 41a696c..e4a46bd 100644
+--- a/attach.c
++++ b/attach.c
+@@ -96,7 +96,7 @@ die(int sig)
+ 

package/dtach/0001-fix-gcc-15-build.patch line 27

Quoted 10 lines
package/dtach/0001-fix-gcc-15-build.patch new file +10 -0
+ /* Window size change. */
+ static RETSIGTYPE
+-win_change()
++win_change(int sig)
+ {
+ 	signal(SIGWINCH, win_change);
+ 	win_changed = 1;
+-- 
+2.50.1
+

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot