File netpbm-10.26.44-ximtoppm-fixes.patch of Package netpbm

--- converter/ppm/ximtoppm.c
+++ converter/ppm/ximtoppm.c
@@ -56,6 +56,10 @@
     OPTENT3(0,   "alphaout",   OPT_STRING, 
             &cmdlineP->alpha_filename, &alphaoutSpec, 0);
 
+    opt.opt_table = option_def;
+    opt.short_allowed = FALSE;  /* We have no short (old-fashioned) options */
+    opt.allowNegNum = FALSE;  /* We may have parms that are negative numbers */
+
     optParseOptions3(&argc, argv, opt, sizeof(opt), 0);
         /* Uses and sets argc, argv, and all of *cmdlineP. */
 
openSUSE Build Service is sponsored by