Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH 1/1] package/xvkbd: Fix build with gcc-14
Date: Sun,  7 Dec 2025 14:00:29 +0100	[thread overview]
Message-ID: <20251207130030.3668435-1-bernd@kuhls.net> (raw)

Fixes:
https://autobuild.buildroot.net/results/86f/86f2ba051e864375bda620dd92e01cb7b8532ac3/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/xvkbd/0001-gcc-14.patch | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 package/xvkbd/0001-gcc-14.patch

diff --git a/package/xvkbd/0001-gcc-14.patch b/package/xvkbd/0001-gcc-14.patch
new file mode 100644
index 0000000000..6ecce1327e
--- /dev/null
+++ b/package/xvkbd/0001-gcc-14.patch
@@ -0,0 +1,19 @@
+Fix build with gcc-14
+
+Upstream: https://sources.debian.org/src/xvkbd/4.1-3/debian/patches/gcc-14
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ xvkbd.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/xvkbd.c
++++ b/xvkbd.c
+@@ -15,6 +15,7 @@
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+  * See the GNU General Public License for more details.
+  */
++#define _CONST_X_STRING
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2025-12-07 13:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-07 13:00 Bernd Kuhls [this message]
2025-12-28 13:46 ` [Buildroot] [PATCH 1/1] package/xvkbd: Fix build with gcc-14 Thomas Petazzoni via buildroot
2026-01-07 17:48 ` Arnout Vandecappelle 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=20251207130030.3668435-1-bernd@kuhls.net \
    --to=bernd@kuhls.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox