xkbutils: patch for gcc 14

This commit is contained in:
Đoàn Trần Công Danh 2024-02-20 19:07:25 +07:00
parent 5758e3062c
commit 26286d64be
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/xkbwatch.c
+++ b/xkbwatch.c
@@ -72,7 +72,7 @@ main(int argc, char *argv[])
static Arg vArgs[] = { {XtNorientation, (XtArgVal) XtorientVertical} };
static Arg onArgs[] = { {XtNon, (XtArgVal) True} };
static Arg offArgs[] = { {XtNon, (XtArgVal) False} };
- static char *fallback_resources[] = {
+ static const char *fallback_resources[] = {
"*Box*background: grey50",
"*Box*borderWidth: 0",
"*Box*vSpace: 1",