package/enscript: fix gcc 14.x compile issue
PATCH 1/1 package/enscript: fix gcc 14.x compile issue
Fixes:
http://autobuild.buildroot.org/results/eb5/eb53b42db0d4bcaf574380d5a89a096cc4ce4b14
Signed-off-by Waldemar Brodkorb <[email protected]>
--- ...ible-implicit-declaration-of-built-i.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/enscript/0001-Solving-incompatible-implicit-declaration-of-built-i.patch
package/enscript/0001-Solving-incompatible-implicit-declaration-of-built-i.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 300ecf85a8fe166a39f9dd818945c7b8a970db39 Mon Sep 17 00:00:00 2001 +From: Wim Stockman <[email protected]> +Date: Mon, 12 Feb 2024 22:52:50 +0100 +Subject: [PATCH] Solving incompatible implicit declaration of built-in + function 'strlen' + +Signed-off-by: Wim Stockman <[email protected]> +Signed-off-by: Waldemar Brodkorb <[email protected]> +Upstream: https://git.savannah.gnu.org/cgit/enscript.git/commit/?id=300ecf85a8fe166a39f9dd818945c7b8a970db39 +--- + compat/getopt.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/compat/getopt.c b/compat/getopt.c +index 752f28a..19f50e1 100644 +--- a/compat/getopt.c ++++ b/compat/getopt.c +@@ -34,6 +34,8 @@ + #include <config.h> + #endif + ++#include <string.h> ++ + #if !defined (__STDC__) || !__STDC__ + /* This is a separate conditional since some stdc systems + reject `defined (const)'. */ +-- +2.39.2 +
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 9 lines · On Tue, 27 Aug 2024 05:55:51 +0200 Waldemar Brodkorb <[email protected]> wrote:
Fixes:
http://autobuild.buildroot.org/results/eb5/eb53b42db0d4bcaf574380d5a89a096cc4ce4b14
Signed-off-by Waldemar Brodkorb <[email protected]>--- ...ible-implicit-declaration-of-built-i.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/enscript/0001-Solving-incompatible-implicit-declaration-of-built-i.patch
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot