summaryrefslogtreecommitdiff
path: root/inputmethod/uim
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-11-25 22:17:15 +0000
committerwiz <wiz@pkgsrc.org>2005-11-25 22:17:15 +0000
commit10b11f844378dd937d7a4b1bb2a5cabd9cb40c3e (patch)
tree160ece2be50c94c01291b5c418f454051c7d2626 /inputmethod/uim
parentdb60e0b0c474e49f0180791621384e6e01dd9c98 (diff)
downloadpkgsrc-10b11f844378dd937d7a4b1bb2a5cabd9cb40c3e.tar.gz
Bug fix for the gtk2 input method:
Do not run g_source_remove if there is no source. Bump PKGREVISION.
Diffstat (limited to 'inputmethod/uim')
-rw-r--r--inputmethod/uim/Makefile3
-rw-r--r--inputmethod/uim/distinfo3
-rw-r--r--inputmethod/uim/patches/patch-aa14
3 files changed, 18 insertions, 2 deletions
diff --git a/inputmethod/uim/Makefile b/inputmethod/uim/Makefile
index f8cd3f161b6..762cbcadd19 100644
--- a/inputmethod/uim/Makefile
+++ b/inputmethod/uim/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2005/09/30 12:43:35 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2005/11/25 22:17:15 wiz Exp $
#
DISTNAME= uim-0.4.9.1
+PKGREVISION= 1
CATEGORIES= inputmethod
MASTER_SITES= http://uim.freedesktop.org/releases/
diff --git a/inputmethod/uim/distinfo b/inputmethod/uim/distinfo
index f992b043d6d..400ef62629f 100644
--- a/inputmethod/uim/distinfo
+++ b/inputmethod/uim/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/09/30 12:43:35 wiz Exp $
+$NetBSD: distinfo,v 1.6 2005/11/25 22:17:15 wiz Exp $
SHA1 (uim-0.4.9.1.tar.gz) = 9037499c47187aeee758ee2bfd60ba9d7d4f40ec
RMD160 (uim-0.4.9.1.tar.gz) = a610157a3aabdd9c1f35718fd8dddce27ffc8831
Size (uim-0.4.9.1.tar.gz) = 1602849 bytes
+SHA1 (patch-aa) = 15c80df9ab4c9c799be22c31a223cacd7b6389f0
diff --git a/inputmethod/uim/patches/patch-aa b/inputmethod/uim/patches/patch-aa
new file mode 100644
index 00000000000..34824141163
--- /dev/null
+++ b/inputmethod/uim/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2005/11/25 22:17:15 wiz Exp $
+
+--- gtk/gtk-im-uim.c.orig 2005-09-26 22:56:59.000000000 +0200
++++ gtk/gtk-im-uim.c
+@@ -667,7 +667,8 @@ im_uim_finalize(GObject *obj)
+ }
+ if (uic->caret_state_indicator) {
+ guint tag = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(uic->caret_state_indicator), "timeout-tag"));
+- g_source_remove(tag);
++ if (tag > 0)
++ g_source_remove(tag);
+ gtk_widget_destroy(uic->caret_state_indicator);
+ uic->caret_state_indicator = NULL;
+ }