summaryrefslogtreecommitdiff
path: root/graphics/ufraw/patches/gcc7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ufraw/patches/gcc7.patch')
-rw-r--r--graphics/ufraw/patches/gcc7.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/ufraw/patches/gcc7.patch b/graphics/ufraw/patches/gcc7.patch
new file mode 100644
index 0000000000..2a77b06e62
--- /dev/null
+++ b/graphics/ufraw/patches/gcc7.patch
@@ -0,0 +1,15 @@
+diff --git a/dcraw.cc b/dcraw.cc
+index 88c8068..d78c66b 100644
+--- a/dcraw.cc
++++ b/dcraw.cc
+@@ -8766,8 +8766,8 @@ void CLASS identify()
+ "Nikon", "Nokia", "Olympus", "Pentax", "Phase One", "Ricoh",
+ "Samsung", "Sigma", "Sinar", "Sony" };
+ char head[32], *cp;
+- unsigned fsize, i, c;
+- int hlen, flen, zero_fsize=1;
++ unsigned fsize;
++ int hlen, flen, zero_fsize=1, i, c;
+ struct jhead jh;
+
+ tiff_flip = flip = filters = UINT_MAX; /* unknown */ \ No newline at end of file