summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch')
-rw-r--r--x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch b/x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch
new file mode 100644
index 000000000000..1ca0db048566
--- /dev/null
+++ b/x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch
@@ -0,0 +1,22 @@
+--- a/resources.h
++++ b/resources.h
+@@ -19,7 +19,7 @@
+ # define PROGRAM_NAME "xvkbd"
+ #endif
+
+-struct appres_struct {
++extern struct appres_struct {
+ String description;
+ String show_manual_command;
+
+--- a/xvkbd.c
++++ b/xvkbd.c
+@@ -500,6 +500,8 @@
+
+ static Pixmap xvkbd_pixmap = None;
+
++struct appres_struct appres;
++
+ static int AddKeysym(KeySym keysym, Boolean top); /* forward */
+ static void MakeKeyboard(Boolean remake);
+ static void MakeKeypad(Widget form, Widget from_vert, Widget from_horiz);