summaryrefslogtreecommitdiffstats
path: root/extra/ufraw/ufraw-0.15-glibc-2.10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ufraw/ufraw-0.15-glibc-2.10.patch')
-rw-r--r--extra/ufraw/ufraw-0.15-glibc-2.10.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/ufraw/ufraw-0.15-glibc-2.10.patch b/extra/ufraw/ufraw-0.15-glibc-2.10.patch
new file mode 100644
index 000000000..5c29b3159
--- /dev/null
+++ b/extra/ufraw/ufraw-0.15-glibc-2.10.patch
@@ -0,0 +1,12 @@
+--- ufraw-0.15.old/dcraw.cc 2008-12-23 07:19:41.000000000 +0000
++++ ufraw-0.15/dcraw.cc 2009-05-28 15:25:51.000000000 +0100
+@@ -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 = (char*) strchr (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);
+