summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-m17n
diff options
context:
space:
mode:
authorjoerg <joerg>2012-11-19 23:19:30 +0000
committerjoerg <joerg>2012-11-19 23:19:30 +0000
commit8b80de9aceff9a989285ca3d0f6300bc415159a6 (patch)
treef2638c95c6ff4d35229389e902b3fb9c021564ed /inputmethod/ibus-m17n
parent8dd95565f55edb68c0357f2a9c1b061638b205bb (diff)
downloadpkgsrc-8b80de9aceff9a989285ca3d0f6300bc415159a6.tar.gz
Always return a value in non-void functions.
Diffstat (limited to 'inputmethod/ibus-m17n')
-rw-r--r--inputmethod/ibus-m17n/distinfo3
-rw-r--r--inputmethod/ibus-m17n/patches/patch-src_setup.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/inputmethod/ibus-m17n/distinfo b/inputmethod/ibus-m17n/distinfo
index 415401b56ad..f20ffdc3b0f 100644
--- a/inputmethod/ibus-m17n/distinfo
+++ b/inputmethod/ibus-m17n/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2012/05/08 09:41:33 obache Exp $
+$NetBSD: distinfo,v 1.6 2012/11/19 23:19:30 joerg Exp $
SHA1 (ibus-m17n-1.3.4.tar.gz) = 068de56caa87c002adeae0de9e908f47e3f9fde9
RMD160 (ibus-m17n-1.3.4.tar.gz) = ee9a153549d47a563e8bebf10af81b2e5f4136c4
Size (ibus-m17n-1.3.4.tar.gz) = 436687 bytes
+SHA1 (patch-src_setup.c) = 3159e91232cdb48dddfc87d8e80210cb8e628c2e
diff --git a/inputmethod/ibus-m17n/patches/patch-src_setup.c b/inputmethod/ibus-m17n/patches/patch-src_setup.c
new file mode 100644
index 00000000000..635ed5dd0e7
--- /dev/null
+++ b/inputmethod/ibus-m17n/patches/patch-src_setup.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_setup.c,v 1.1 2012/11/19 23:19:30 joerg Exp $
+
+--- src/setup.c.orig 2012-11-19 16:31:43.000000000 +0000
++++ src/setup.c
+@@ -428,7 +428,7 @@ save_m17n_options (SetupDialog *dialog)
+ gboolean retval = TRUE;
+
+ if (!gtk_tree_model_get_iter_first (model, &iter))
+- return;
++ return FALSE;
+
+ do {
+ gtk_tree_model_get (model, &iter,