pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod/scim-bridge from the manual, end of getopt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3c53e225ddb9
branches: trunk
changeset: 603972:3c53e225ddb9
user: obache <obache%pkgsrc.org@localhost>
date: Sat May 19 06:55:03 2012 +0000
description:
from the manual, end of getopt_long(3) is -1, not EOF.
diffstat:
inputmethod/scim-bridge/distinfo | 4 ++--
inputmethod/scim-bridge/patches/patch-af | 12 +++++++++---
2 files changed, 11 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r fb70e69421e5 -r 3c53e225ddb9 inputmethod/scim-bridge/distinfo
--- a/inputmethod/scim-bridge/distinfo Sat May 19 06:43:23 2012 +0000
+++ b/inputmethod/scim-bridge/distinfo Sat May 19 06:55:03 2012 +0000
@@ -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-ac) = e7dd5f64e3fcd9cdc03199d041fefb09fce9ff8f
SHA1 (patch-ad) = cc87a5c24af8c066482d164b2805602ed90e2acb
SHA1 (patch-ae) = 2e8f264da95760b90d40355202fe21b81e0f12c8
-SHA1 (patch-af) = 3db943f7180838a475d4a0c2fca9c52d6dc3cd43
+SHA1 (patch-af) = ebd541765c9c1b1105f05d6f1254c38bdc442689
SHA1 (patch-ag) = 45915bc63fd6228fe2033336fe3313f7ce639ef6
diff -r fb70e69421e5 -r 3c53e225ddb9 inputmethod/scim-bridge/patches/patch-af
--- a/inputmethod/scim-bridge/patches/patch-af Sat May 19 06:43:23 2012 +0000
+++ b/inputmethod/scim-bridge/patches/patch-af Sat May 19 06:55:03 2012 +0000
@@ -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 @@
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':
Home |
Main Index |
Thread Index |
Old Index