From 26286d64beb420535785c7eafbd91af357ee1f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 20 Feb 2024 19:07:25 +0700 Subject: [PATCH] xkbutils: patch for gcc 14 --- .../xkbutils/patches/incompatible-pointer-types.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/xkbutils/patches/incompatible-pointer-types.patch diff --git a/srcpkgs/xkbutils/patches/incompatible-pointer-types.patch b/srcpkgs/xkbutils/patches/incompatible-pointer-types.patch new file mode 100644 index 00000000000..e41f226bce8 --- /dev/null +++ b/srcpkgs/xkbutils/patches/incompatible-pointer-types.patch @@ -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",