File bc-1.06_getopt.patch of Package bc

--- bc/main.c
+++ bc/main.c
@@ -93,6 +93,9 @@ parse_args (argc, argv)
 
       switch (optch)
 	{
+	case 0:    /* long option */
+	  break;
+
 	case 'c':  /* compile only */
 	  compile_only = TRUE;
 	  break;
openSUSE Build Service is sponsored by