aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/miniChinput
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-16 01:23:10 +0800
committerarved <arved@FreeBSD.org>2004-08-16 01:23:10 +0800
commit3e5088fe275488c63ac058c0a855bcf509404a25 (patch)
tree6b7ee0f37f0d10720a1376df6fd19b58a54b00b3 /chinese/miniChinput
parentf28ce816059bb847ba3bd59ef6cd6269d15faacf (diff)
downloadfreebsd-ports-gnome-3e5088fe275488c63ac058c0a855bcf509404a25.tar.gz
freebsd-ports-gnome-3e5088fe275488c63ac058c0a855bcf509404a25.tar.zst
freebsd-ports-gnome-3e5088fe275488c63ac058c0a855bcf509404a25.zip
Fix build with gcc 3.4
Diffstat (limited to 'chinese/miniChinput')
-rw-r--r--chinese/miniChinput/files/patch-keyboard.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/chinese/miniChinput/files/patch-keyboard.c b/chinese/miniChinput/files/patch-keyboard.c
new file mode 100644
index 000000000000..c255e437e18b
--- /dev/null
+++ b/chinese/miniChinput/files/patch-keyboard.c
@@ -0,0 +1,10 @@
+--- src/keyboard.c.orig Sun Aug 15 19:13:01 2004
++++ src/keyboard.c Sun Aug 15 19:13:31 2004
+@@ -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);
+