From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH] package/enscript: fix gcc 14.x compile issue
Date: Tue, 27 Aug 2024 05:55:51 +0200 [thread overview]
Message-ID: <Zs1ORw93VJBVAm5L@waldemar-brodkorb.de> (raw)
Fixes:
http://autobuild.buildroot.org/results/eb5/eb53b42db0d4bcaf574380d5a89a096cc4ce4b14
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
...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
diff --git a/package/enscript/0001-Solving-incompatible-implicit-declaration-of-built-i.patch b/package/enscript/0001-Solving-incompatible-implicit-declaration-of-built-i.patch
new file mode 100644
index 0000000000..ae950c331a
--- /dev/null
+++ b/package/enscript/0001-Solving-incompatible-implicit-declaration-of-built-i.patch
@@ -0,0 +1,29 @@
+From 300ecf85a8fe166a39f9dd818945c7b8a970db39 Mon Sep 17 00:00:00 2001
+From: Wim Stockman <wim@thinkerwim.org>
+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 <wim@thinkerwim.org>
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+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
+
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-08-27 3:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 3:55 Waldemar Brodkorb [this message]
2024-08-27 16:27 ` [Buildroot] [PATCH] package/enscript: fix gcc 14.x compile issue Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zs1ORw93VJBVAm5L@waldemar-brodkorb.de \
--to=wbx@openadk.org \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.