summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-handwrite/patches
diff options
context:
space:
mode:
authorobache <obache>2010-08-07 02:25:03 +0000
committerobache <obache>2010-08-07 02:25:03 +0000
commitdc9b814bf9f7b099475b70db43f9247a15dc3600 (patch)
tree13c1df9cc588dd0c01c74c35e57fd21748ec67ad /inputmethod/ibus-handwrite/patches
parent81f781e24dd8b8405e1e75b4c9f391aec484263e (diff)
downloadpkgsrc-dc9b814bf9f7b099475b70db43f9247a15dc3600.tar.gz
Import ibus-handwrite-2.1.0nb1 as inputmethod/ibus-handwrite.
ibus-handwrite is a handwrite recgnizer for IBus.
Diffstat (limited to 'inputmethod/ibus-handwrite/patches')
-rw-r--r--inputmethod/ibus-handwrite/patches/patch-aa17
-rw-r--r--inputmethod/ibus-handwrite/patches/patch-ab14
-rw-r--r--inputmethod/ibus-handwrite/patches/patch-ac12
3 files changed, 43 insertions, 0 deletions
diff --git a/inputmethod/ibus-handwrite/patches/patch-aa b/inputmethod/ibus-handwrite/patches/patch-aa
new file mode 100644
index 00000000000..16a33b4e637
--- /dev/null
+++ b/inputmethod/ibus-handwrite/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/08/07 02:25:03 obache Exp $
+
+--- src/handrecog_lucykila.c.orig 2010-04-22 10:53:37.000000000 +0000
++++ src/handrecog_lucykila.c
+@@ -17,6 +17,12 @@
+ #include "engine.h"
+ #include "handrecog.h"
+
++#ifndef MAP_ANONYMOUS
++#ifdef MAP_ANON
++#define MAP_ANONYMOUS MAP_ANON
++#endif
++#endif
++
+ typedef struct _MATCHED MATCHED;
+ typedef struct _IbusHandwriteRecogLucyKila IbusHandwriteRecogLucyKila;
+ typedef struct _IbusHandwriteRecogLucyKilaClass IbusHandwriteRecogLucyKilaClass;
diff --git a/inputmethod/ibus-handwrite/patches/patch-ab b/inputmethod/ibus-handwrite/patches/patch-ab
new file mode 100644
index 00000000000..ec1ea56b92d
--- /dev/null
+++ b/inputmethod/ibus-handwrite/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/08/07 02:25:03 obache Exp $
+
+--- src/main.c.orig 2010-04-23 07:13:02.000000000 +0000
++++ src/main.c
+@@ -1,7 +1,9 @@
+ /* vim:set et sts=4: */
+ #include <config.h>
+ #include <unistd.h>
++#ifdef __linux__
+ #include <execinfo.h>
++#endif
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <ibus.h>
diff --git a/inputmethod/ibus-handwrite/patches/patch-ac b/inputmethod/ibus-handwrite/patches/patch-ac
new file mode 100644
index 00000000000..77e46f9e443
--- /dev/null
+++ b/inputmethod/ibus-handwrite/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2010/08/07 02:25:03 obache Exp $
+
+--- icons/Makefile.in.orig 2010-04-23 07:06:16.000000000 +0000
++++ icons/Makefile.in
+@@ -216,6 +216,7 @@ zinnia = @zinnia@
+ zinnia_tomoe = @zinnia_tomoe@
+ icons_DATA = \
+ ibus-handwrite.svg \
++ switch.svg \
+ $(NULL)
+
+ iconsdir = $(pkgdatadir)/icons