summaryrefslogtreecommitdiff
path: root/inputmethod/tomoe/patches
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-06 17:24:41 +0000
committerdholland <dholland@pkgsrc.org>2012-05-06 17:24:41 +0000
commit5407349c0fa748610c041b7ef2d988dd145ad89a (patch)
treee840f618beead8852b9e56e56eeab6f52582fe27 /inputmethod/tomoe/patches
parent48d79ff471cf270390dcf79231ca916010ccc520 (diff)
downloadpkgsrc-5407349c0fa748610c041b7ef2d988dd145ad89a.tar.gz
Fix build with latest glib2.
Diffstat (limited to 'inputmethod/tomoe/patches')
-rw-r--r--inputmethod/tomoe/patches/patch-lib_glib-utils_h15
-rw-r--r--inputmethod/tomoe/patches/patch-lib_tomoe_c15
2 files changed, 30 insertions, 0 deletions
diff --git a/inputmethod/tomoe/patches/patch-lib_glib-utils_h b/inputmethod/tomoe/patches/patch-lib_glib-utils_h
new file mode 100644
index 00000000000..a2429d9fc61
--- /dev/null
+++ b/inputmethod/tomoe/patches/patch-lib_glib-utils_h
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_glib-utils_h,v 1.1 2012/05/06 17:24:41 dholland Exp $
+
+Fix build with latest glib2.
+
+--- lib/glib-utils.h~ 2007-04-25 07:35:58.000000000 +0000
++++ lib/glib-utils.h
+@@ -28,7 +28,7 @@
+ #include "config.h"
+ #endif /* HAVE_CONFIG_H */
+
+-#include <glib/garray.h>
++#include <glib.h>
+ #include <glib/gi18n-lib.h>
+ #include "glib-compat-file-utilities.h"
+ #include "glib-compat-key-file.h"
diff --git a/inputmethod/tomoe/patches/patch-lib_tomoe_c b/inputmethod/tomoe/patches/patch-lib_tomoe_c
new file mode 100644
index 00000000000..568492cef26
--- /dev/null
+++ b/inputmethod/tomoe/patches/patch-lib_tomoe_c
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_tomoe_c,v 1.1 2012/05/06 17:24:41 dholland Exp $
+
+Fix build with latest glib2.
+
+--- lib/tomoe.c~ 2007-06-06 07:35:53.000000000 +0000
++++ lib/tomoe.c
+@@ -26,7 +26,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <glib/garray.h>
++#include <glib.h>
+ #include "tomoe.h"
+
+ static gboolean initialized = FALSE;