summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache>2012-05-19 06:55:03 +0000
committerobache <obache>2012-05-19 06:55:03 +0000
commit91eb4b539e0ab2d5d05a7d2895a4fa23477b85c4 (patch)
tree7c26bf5aca55111f42600bda83a9523c62d56a16 /inputmethod
parent94a804a935a3fa04c589a6d39260d0c61bdc48cf (diff)
downloadpkgsrc-91eb4b539e0ab2d5d05a7d2895a4fa23477b85c4.tar.gz
from the manual, end of getopt_long(3) is -1, not EOF.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/scim-bridge/distinfo4
-rw-r--r--inputmethod/scim-bridge/patches/patch-af12
2 files changed, 11 insertions, 5 deletions
diff --git a/inputmethod/scim-bridge/distinfo b/inputmethod/scim-bridge/distinfo
index 7f7a3e63122..fdec91dcd40 100644
--- a/inputmethod/scim-bridge/distinfo
+++ b/inputmethod/scim-bridge/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2011/11/13 08:04:46 obache Exp $
+$NetBSD: distinfo,v 1.5 2012/05/19 06:55:03 obache Exp $
SHA1 (scim-bridge-0.4.16.tar.gz) = 6a7a714592dbecc9a1f44794f37319bafe2bdfae
RMD160 (scim-bridge-0.4.16.tar.gz) = 37aed056fb880358b013f104f08b2e58c3de4188
@@ -8,5 +8,5 @@ SHA1 (patch-ab) = 7c103b3da298e8ed72e84c239a3fc4617a647ce5
SHA1 (patch-ac) = e7dd5f64e3fcd9cdc03199d041fefb09fce9ff8f
SHA1 (patch-ad) = cc87a5c24af8c066482d164b2805602ed90e2acb
SHA1 (patch-ae) = 2e8f264da95760b90d40355202fe21b81e0f12c8
-SHA1 (patch-af) = 3db943f7180838a475d4a0c2fca9c52d6dc3cd43
+SHA1 (patch-af) = ebd541765c9c1b1105f05d6f1254c38bdc442689
SHA1 (patch-ag) = 45915bc63fd6228fe2033336fe3313f7ce639ef6
diff --git a/inputmethod/scim-bridge/patches/patch-af b/inputmethod/scim-bridge/patches/patch-af
index 785d05ebb19..689ee420344 100644
--- a/inputmethod/scim-bridge/patches/patch-af
+++ b/inputmethod/scim-bridge/patches/patch-af
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.1 2009/11/26 12:30:12 obache Exp $
+$NetBSD: patch-af,v 1.2 2012/05/19 06:55:04 obache Exp $
---- agent/scim-bridge-agent-application.cpp.orig 2009-01-18 02:04:20.000000000 +0900
+--- agent/scim-bridge-agent-application.cpp.orig 2009-01-17 17:04:20.000000000 +0000
+++ agent/scim-bridge-agent-application.cpp
-@@ -60,7 +60,7 @@ int main (int argc, char *argv[])
+@@ -60,12 +60,12 @@ int main (int argc, char *argv[])
{0, 0, NULL, 0}
};
@@ -11,3 +11,9 @@ $NetBSD: patch-af,v 1.1 2009/11/26 12:30:12 obache Exp $
unsigned int tmp_uint;
+ int option = 0;
+- while (option != EOF) {
++ while (option != -1) {
+ option = getopt_long (argc, argv, short_options, long_options, NULL);
+ switch (option) {
+ case 'v':