From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Cc: Gregory Dymarek <gregd72002@gmail.com>, Asaf Kahlon <asafka7@gmail.com>
Subject: [Buildroot] [PATCH 1/5] package/bc: fix build with gcc 14.x
Date: Tue, 14 May 2024 23:54:02 +0200 [thread overview]
Message-ID: <20240514215406.2866563-1-bernd@kuhls.net> (raw)
Fixes:
http://autobuild.buildroot.net/results/4d3/4d3c0e0a08cd734699cb61412c99d705738e8ab4/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
...and-write-errors-on-input-and-output.patch | 41 ++++++++++++++++++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch b/package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch
index cc72e5cd69..87654e3c14 100644
--- a/package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch
+++ b/package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch
@@ -26,6 +26,10 @@ Origin: other
Bug-Debian: http://bugs.debian.org/488735
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+[Bernd:
+ Updated to incorporate changes by Matthias Klose <doko@debian.org>
+ on 2024-03-13 that fix Debian bug https://bugs.debian.org/1065375]
---
bc/execute.c | 10 +++++++++-
bc/main.c | 3 +++
@@ -276,6 +280,14 @@ diff --git a/dc/dc.c b/dc/dc.c
index 6a2bb26..ccdb1c2 100644
--- a/dc/dc.c
+++ b/dc/dc.c
+@@ -45,6 +45,7 @@
+ #include <getopt.h>
+ #include "dc.h"
+ #include "dc-proto.h"
++#include "number.h"
+
+ #ifndef EXIT_SUCCESS /* C89 <stdlib.h> */
+ # define EXIT_SUCCESS 0
@@ -59,6 +59,7 @@ static void
bug_report_info DC_DECLVOID()
{
@@ -304,6 +316,14 @@ diff --git a/dc/eval.c b/dc/eval.c
index 05a3d9e..6c54e61 100644
--- a/dc/eval.c
+++ b/dc/eval.c
+@@ -41,6 +41,7 @@
+ #endif
+ #include "dc.h"
+ #include "dc-proto.h"
++#include "number.h"
+
+ typedef enum {DC_FALSE, DC_TRUE} dc_boolean;
+
@@ -97,12 +97,15 @@ static int input_pushback;
static int
input_fil DC_DECLVOID()
@@ -512,6 +532,14 @@ diff --git a/dc/misc.c b/dc/misc.c
index cd23602..cd910b8 100644
--- a/dc/misc.c
+++ b/dc/misc.c
+@@ -47,6 +47,7 @@
+ #include <getopt.h>
+ #include "dc.h"
+ #include "dc-proto.h"
++#include "number.h"
+
+ #ifndef EXIT_FAILURE /* C89 <stdlib.h> */
+ # define EXIT_FAILURE 1
@@ -89,6 +89,7 @@ dc_show_id DC_DECLARG((fp, id, suffix))
fprintf(fp, "'%c' (%#o)%s", (unsigned int) id, id, suffix);
else
@@ -593,8 +621,11 @@ diff --git a/dc/stack.c b/dc/stack.c
index 49422df..174411d 100644
--- a/dc/stack.c
+++ b/dc/stack.c
-@@ -35,7 +35,10 @@
+@@ -33,9 +33,13 @@
+ #include "dc.h"
+ #include "dc-proto.h"
#include "dc-regdef.h"
++#include "number.h"
/* an oft-used error message: */
-#define Empty_Stack fprintf(stderr, "%s: stack empty\n", progname)
@@ -657,6 +688,14 @@ diff --git a/dc/string.c b/dc/string.c
index dee9169..389d899 100644
--- a/dc/string.c
+++ b/dc/string.c
+@@ -45,6 +45,7 @@
+ #endif
+ #include "dc.h"
+ #include "dc-proto.h"
++#include "number.h"
+
+ /* here is the completion of the dc_string type: */
+ struct dc_string {
@@ -94,6 +94,7 @@ dc_out_str DC_DECLARG((value, discard_flag))
dc_discard discard_flag DC_DECLEND
{
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-05-14 21:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-14 21:54 Bernd Kuhls [this message]
2024-05-14 21:54 ` [Buildroot] [PATCH 2/5] package/rrdtool: fix build with gcc 14.x Bernd Kuhls
2024-05-14 21:54 ` [Buildroot] [PATCH 3/5] package/collectd: " Bernd Kuhls
2024-05-14 21:54 ` [Buildroot] [PATCH 4/5] package/sofia-sip: " Bernd Kuhls
2024-05-14 21:54 ` [Buildroot] [PATCH 5/5] package/unixodbc: " Bernd Kuhls
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=20240514215406.2866563-1-bernd@kuhls.net \
--to=bernd@kuhls.net \
--cc=asafka7@gmail.com \
--cc=buildroot@buildroot.org \
--cc=gregd72002@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).