summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-m17n
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-11-19 23:19:30 +0000
committerjoerg <joerg@pkgsrc.org>2012-11-19 23:19:30 +0000
commite7a38bf31d05ac6ed3d1a0afd1c174ce74317ef4 (patch)
treef2638c95c6ff4d35229389e902b3fb9c021564ed /inputmethod/ibus-m17n
parent917464c08f25332e42b5f520af9adbabc0805585 (diff)
downloadpkgsrc-e7a38bf31d05ac6ed3d1a0afd1c174ce74317ef4.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,