mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/wlroots: fix build with glibc 2.43
Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
5cdf5fa424
commit
876e987099
33
package/wlroots/0002-xcursor.patch
Normal file
33
package/wlroots/0002-xcursor.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
From 47486545b196987f6f07fffe2929bba8f515b8e9 Mon Sep 17 00:00:00 2001
|
||||
From: Dale Turner <rxguyrx@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@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
|
||||
|
||||
Reference in New Issue
Block a user