summaryrefslogtreecommitdiff
path: root/inputmethod/Chinput/patches
diff options
context:
space:
mode:
authorrxg <rxg@pkgsrc.org>2006-01-04 12:04:46 +0000
committerrxg <rxg@pkgsrc.org>2006-01-04 12:04:46 +0000
commit805098b950a0154038ef192ae5807249415f6191 (patch)
treeb1774e401b14361055413aff94caf6a5bb0d7150 /inputmethod/Chinput/patches
parentd5ecb22a6ad7b8f32b89cc8587709a70b2d09566 (diff)
downloadpkgsrc-805098b950a0154038ef192ae5807249415f6191.tar.gz
Fixed compile failed on DragonflyBSD.
Confirmed by LIU Xiang <neo dot liu at gmail dot com> in private mail.
Diffstat (limited to 'inputmethod/Chinput/patches')
-rw-r--r--inputmethod/Chinput/patches/patch-ag12
-rw-r--r--inputmethod/Chinput/patches/patch-ah12
2 files changed, 24 insertions, 0 deletions
diff --git a/inputmethod/Chinput/patches/patch-ag b/inputmethod/Chinput/patches/patch-ag
new file mode 100644
index 00000000000..a6061a1c1a1
--- /dev/null
+++ b/inputmethod/Chinput/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1 2006/01/04 12:04:46 rxg Exp $
+
+--- src/handw.c.orig 2006-01-04 19:57:26.000000000 +0800
++++ src/handw.c
+@@ -25,7 +25,6 @@
+ #define F_STRING 0
+ #define F_CONTROL 1
+
+-extern int ForwardEvent();
+ static int in_hwkeys(int x0, int y0);
+ static void set_hwkey(int n, char c, int f, char *label, char *blabel,
+ int x, int y, int w, int h);
diff --git a/inputmethod/Chinput/patches/patch-ah b/inputmethod/Chinput/patches/patch-ah
new file mode 100644
index 00000000000..b8888753232
--- /dev/null
+++ b/inputmethod/Chinput/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1 2006/01/04 12:04:46 rxg Exp $
+
+--- src/keyboard.c.orig 2006-01-04 19:58:25.000000000 +0800
++++ src/keyboard.c
+@@ -24,7 +24,6 @@
+ #define INC (x0 += KEY_WIDTH)
+ #define HALFINC (x0 += KEY_WIDTH/2)
+
+-extern int ForwardEvent();
+ static void set_key(int n, unsigned long keysym, int x, int y, int w, int h);
+ static int in_keys(int x0, int y0);
+