[Buildroot] [PATCH v2 05/14] package/wlroots: fix build with glibc 2.43
Bernd Kuhls
bernd at kuhls.net
Thu Mar 5 21:09:40 UTC 2026
Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
---
package/wlroots/0002-xcursor.patch | 33 ++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/wlroots/0002-xcursor.patch
diff --git a/package/wlroots/0002-xcursor.patch b/package/wlroots/0002-xcursor.patch
new file mode 100644
index 0000000000..d57980fa39
--- /dev/null
+++ b/package/wlroots/0002-xcursor.patch
@@ -0,0 +1,33 @@
+From 47486545b196987f6f07fffe2929bba8f515b8e9 Mon Sep 17 00:00:00 2001
+From: Dale Turner <rxguyrx at gmail.com>
+Date: Wed, 3 Dec 2025 20:02:29 -0400
+Subject: [PATCH] =?UTF-8?q?Add=20"const"=20to=20eliminate=20"error:=20init?=
+ =?UTF-8?q?ialization=20discards=20=E2=80=98const=E2=80=99=20qualifier=20f?=
+ =?UTF-8?q?rom=20pointer=20target=20type"?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/47486545b196987f6f07fffe2929bba8f515b8e9
+
+Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
+---
+ xcursor/xcursor.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xcursor/xcursor.c b/xcursor/xcursor.c
+index b5edb9de8..6627fb6cd 100644
+--- a/xcursor/xcursor.c
++++ b/xcursor/xcursor.c
+@@ -602,7 +602,7 @@ xcursor_build_fullname(const char *dir, const char *subdir, const char *file)
+ static const char *
+ xcursor_next_path(const char *path)
+ {
+- char *colon = strchr(path, ':');
++ const char *colon = strchr(path, ':');
+
+ if (!colon)
+ return NULL;
+--
+GitLab
+
--
2.47.3
More information about the buildroot
mailing list