openbsd-ports/x11/oroborus/patches/patch-src_keyboard_c
cwen 09519a09a0 oroborus: update to 2.0.20, fix the build with -fno-common
Also tested by Ryan Freeman, who had a similar diff.

"fine with me" sthen@
2021-02-18 22:01:17 +00:00

17 lines
329 B
Plaintext

$OpenBSD: patch-src_keyboard_c,v 1.1 2021/02/18 22:01:17 cwen Exp $
Fix the build with -fno-common
Index: src/keyboard.c
--- src/keyboard.c.orig
+++ src/keyboard.c
@@ -35,6 +35,8 @@
#include <stdio.h>
#endif
+int NumLockMask, CapsLockMask, ScrollLockMask;
+
void
parseKeyString (Display * dpy, MyKey * key, char *str)
{