File fix-constchar.patch of Package rawstudio

--- src/dcraw.cc
+++ src/dcraw.cc
@@ -8509,8 +8509,9 @@
   }
   argv[argc] = "";
   for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
+    char *sp = (char*)"nbrkStqmHACg";
     opt = argv[arg++][1];
-    if ((cp = strchr (sp="nbrkStqmHACg", opt)))
+    if ((cp = strchr (sp, opt)))
       for (i=0; i < "114111111422"[cp-sp]-'0'; i++)
 	if (!isdigit(argv[arg+i][0])) {
 	  dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);
openSUSE Build Service is sponsored by