$NetBSD: patch-af,v 1.2 2012/05/19 06:55:04 obache Exp $

--- agent/scim-bridge-agent-application.cpp.orig	2009-01-17 17:04:20.000000000 +0000
+++ agent/scim-bridge-agent-application.cpp
@@ -60,12 +60,12 @@ int main (int argc, char *argv[])
         {0, 0, NULL, 0}
     };
 
-    char short_options[] = "vhqdls:b:";
+    char short_options[] = "vhql:sn";
 
     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':
