aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ufraw
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2018-02-06 01:26:08 +0800
committerdanfe <danfe@FreeBSD.org>2018-02-06 01:26:08 +0800
commit6603f06838b5456aa17d8bb8127d4c1036c94732 (patch)
treeda0aebed82fc685b5f1555554dfb285d6b6f62b7 /graphics/ufraw
parentab11329f8dd0ab0766ce313646658a13894ccd8f (diff)
downloadfreebsd-ports-gnome-6603f06838b5456aa17d8bb8127d4c1036c94732.tar.gz
freebsd-ports-gnome-6603f06838b5456aa17d8bb8127d4c1036c94732.tar.zst
freebsd-ports-gnome-6603f06838b5456aa17d8bb8127d4c1036c94732.zip
Unbreak the build against recent Clang.
PR: 225556
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);