summaryrefslogtreecommitdiff
path: root/misc/xvnkb/patches/kdeinit-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xvnkb/patches/kdeinit-error.patch')
-rw-r--r--misc/xvnkb/patches/kdeinit-error.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/xvnkb/patches/kdeinit-error.patch b/misc/xvnkb/patches/kdeinit-error.patch
new file mode 100644
index 0000000000..849bcd1092
--- /dev/null
+++ b/misc/xvnkb/patches/kdeinit-error.patch
@@ -0,0 +1,12 @@
+diff -urN xvnkb.cvs/Makefile.common xvnkb/Makefile.common
+--- xvnkb.cvs/Makefile.common 2005-01-12 04:21:04.000000000 -0600
++++ xvnkb/Makefile.common 2009-07-09 12:44:28.789974861 -0500
+@@ -19,7 +19,7 @@
+ $(CC) -fpic $(CFLAGS) $(FPTR) $(VK_OPT) -DVERSION=\"$(VERSION)\" -Wall -I$(XLIB_INC) -c $<
+
+ $(CORE): $(CORE_OBJS)
+- $(CC) $(CFLAGS) $(DLFLAGS) $(CORE_OBJS) -o $@ -L$(XLIB_PATH) $(LIBDL)
++ $(CC) $(CFLAGS) $(DLFLAGS) $(CORE_OBJS) -o $@ -L$(XLIB_PATH) $(LIBDL) -lX11
+
+ $(GUI): $(GUI_OBJS)
+ $(CC) $(CFLAGS) $(GUI_OBJS) -o $@ -L$(XLIB_PATH) $(LIBS) $(XFT_LIBS)