aboutsummaryrefslogtreecommitdiff
path: root/graphics/ufraw
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2018-02-05 17:26:08 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2018-02-05 17:26:08 +0000
commit70f695da31ced1a83d45ddcd75d78d0500c867f4 (patch)
treeda0aebed82fc685b5f1555554dfb285d6b6f62b7 /graphics/ufraw
parent85e9c1f82c56d66a0b8ae0061031cd0ef02f48c6 (diff)
downloadports-70f695da31ced1a83d45ddcd75d78d0500c867f4.tar.gz
ports-70f695da31ced1a83d45ddcd75d78d0500c867f4.zip
Unbreak the build against recent Clang.
PR: 225556
Notes
Notes: svn path=/head/; revision=460986
Diffstat (limited to 'graphics/ufraw')
-rw-r--r--graphics/ufraw/files/patch-dcraw.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/ufraw/files/patch-dcraw.cc b/graphics/ufraw/files/patch-dcraw.cc
index 806e843bdddb..7539306af0a1 100644
--- a/graphics/ufraw/files/patch-dcraw.cc
+++ b/graphics/ufraw/files/patch-dcraw.cc
@@ -19,3 +19,12 @@
}
} else if (fsize == 5869568) {
if (!timestamp && minolta_z2()) {
+@@ -10073,7 +10073,7 @@ void CLASS tiff_head (struct tiff_hdr *th, int full)
+ strncpy (th->desc, desc, 512);
+ strncpy (th->make, make, 64);
+ strncpy (th->model, model, 64);
+- strcpy (th->soft, "dcraw v"DCRAW_VERSION);
++ strcpy (th->soft, "dcraw v" DCRAW_VERSION);
+ t = localtime (&timestamp);
+ sprintf (th->date, "%04d:%02d:%02d %02d:%02d:%02d",
+ t->tm_year+1900,t->tm_mon+1,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec);