package/enscript: Fix build with gcc 15.x
PATCH 1/1 package/enscript: Fix build with gcc 15.x
Fixes:
https://autobuild.buildroot.net/results/7fd/7fdda216e2ec57b9bcc1d2613b6546db35a29749/
--- package/enscript/0002-enscript-c23.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/enscript/0002-enscript-c23.patch
package/enscript/0002-enscript-c23.patch new file +19 -0
@@ -0,0 +1,19 @@ +Fix build with gcc 15.x + +Upstream: https://savannah.gnu.org/bugs/?66845 + +Signed-off-by: Bernd Kuhls <[email protected]> + +diff --git a/compat/regex.c b/compat/regex.c +index c6907f3..87f2840 100644 +--- a/compat/regex.c ++++ b/compat/regex.c +@@ -336,7 +336,7 @@ typedef char boolean; + #define false 0 + #define true 1 + +-static int re_match_2_internal (); ++static int re_match_2_internal (struct re_pattern_buffer*, const char*, int, const char*, int, int, struct re_registers*, int); + + /* These are the command codes that appear in compiled regular + expressions. Some opcodes are followed by argument bytes. A
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 4 lines · Bernd Kuhls
Fixes:
https://autobuild.buildroot.net/results/7fd/7fdda216e2ec57b9bcc1d2613b6546db35a29749/Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 4 lines · Bernd Kuhls
Fixes:
https://autobuild.buildroot.net/results/7fd/7fdda216e2ec57b9bcc1d2613b6546db35a29749/Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.08.x, thanks.
Regards,
Arnout
Quoted 20 lines
--- package/enscript/0002-enscript-c23.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)create mode 100644
package/enscript/0002-enscript-c23.patchpackage/enscript/0002-enscript-c23.patch new file +9
-0@@ -0,0 +1,19 @@ +Fix build with gcc 15.x + +Upstream: https://savannah.gnu.org/bugs/?66845 + +Signed-off-by: Bernd Kuhls <[email protected]> + +diff --git a/compat/regex.c b/compat/regex.c +index c6907f3..87f2840 100644 +--- a/compat/regex.c
package/enscript/0002-enscript-c23.patch line 19
Quoted 10 lines
package/enscript/0002-enscript-c23.patch new file +10
-0++++ b/compat/regex.c +@@ -336,7 +336,7 @@ typedef char boolean; + #define false 0 + #define true 1 + +-static int re_match_2_internal (); ++static int re_match_2_internal (struct re_pattern_buffer*, const char*, int, const char*, int, int, struct re_registers*, int); + + /* These are the command codes that appear in compiled regular + expressions. Some opcodes are followed by argument bytes. A
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot