Files
buildroot/package/xvkbd/0001-gcc-14.patch
2025-12-28 14:45:23 +01:00

20 lines
451 B
Diff

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>