From dc9b814bf9f7b099475b70db43f9247a15dc3600 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 7 Aug 2010 02:25:03 +0000 Subject: Import ibus-handwrite-2.1.0nb1 as inputmethod/ibus-handwrite. ibus-handwrite is a handwrite recgnizer for IBus. --- inputmethod/ibus-handwrite/patches/patch-aa | 17 +++++++++++++++++ inputmethod/ibus-handwrite/patches/patch-ab | 14 ++++++++++++++ inputmethod/ibus-handwrite/patches/patch-ac | 12 ++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 inputmethod/ibus-handwrite/patches/patch-aa create mode 100644 inputmethod/ibus-handwrite/patches/patch-ab create mode 100644 inputmethod/ibus-handwrite/patches/patch-ac (limited to 'inputmethod/ibus-handwrite/patches') 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 + #include ++#ifdef __linux__ + #include ++#endif + #include + #include + #include 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 -- cgit v1.2.3