summaryrefslogtreecommitdiffstats
path: root/extra/ufraw/gcc44.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ufraw/gcc44.patch')
-rw-r--r--extra/ufraw/gcc44.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/ufraw/gcc44.patch b/extra/ufraw/gcc44.patch
new file mode 100644
index 000000000..51444674b
--- /dev/null
+++ b/extra/ufraw/gcc44.patch
@@ -0,0 +1,11 @@
+--- ufraw-0.15/dcraw.cc 2008-12-23 08:19:41.000000000 +0100
++++ ufraw-0.15/dcraw.cc.new 2009-07-30 21:19:53.000000000 +0200
+@@ -8401,7 +8401,7 @@
+ argv[argc] = "";
+ for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
+ opt = argv[arg++][1];
+- if ((cp = strchr (sp="nbrkStqmHAC", opt)))
++ if ((cp = strchr (const sp="nbrkStqmHAC", opt)))
+ for (i=0; i < "11411111142"[cp-sp]-'0'; i++)
+ if (!isdigit(argv[arg+i][0])) {
+ dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);