diff options
author | gdt <gdt@pkgsrc.org> | 2019-08-20 14:31:03 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2019-08-20 14:31:03 +0000 |
commit | 08fd58a52e216a6ace8cc82f5b491e08bf856182 (patch) | |
tree | 59022c8b3c73b4d59bc209620908aa2a109fa212 /graphics | |
parent | 6fe1435f4d06f3dd833d00815784ad3170f9ae65 (diff) | |
download | pkgsrc-08fd58a52e216a6ace8cc82f5b491e08bf856182.tar.gz |
graphics/gimp-ufraw: Add patch to cope with newer exiv2
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gimp-ufraw/Makefile | 4 | ||||
-rw-r--r-- | graphics/gimp-ufraw/distinfo | 3 | ||||
-rw-r--r-- | graphics/gimp-ufraw/patches/patch-ufraw__exiv2.cc | 27 |
3 files changed, 31 insertions, 3 deletions
diff --git a/graphics/gimp-ufraw/Makefile b/graphics/gimp-ufraw/Makefile index c7088cb0e1f..fc93c39fa3e 100644 --- a/graphics/gimp-ufraw/Makefile +++ b/graphics/gimp-ufraw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.113 2019/08/11 13:21:11 wiz Exp $ +# $NetBSD: Makefile,v 1.114 2019/08/20 14:31:03 gdt Exp $ # Note that upstream has replaced tarballs without changing the # version number (e.g., 0.19.2 had two different tarballs). @@ -6,7 +6,7 @@ # updating pkgsrc. DISTNAME= ufraw-0.22 PKGNAME= gimp-${DISTNAME} -PKGREVISION= 13 +PKGREVISION= 14 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ufraw/} diff --git a/graphics/gimp-ufraw/distinfo b/graphics/gimp-ufraw/distinfo index fa3034a6adc..3bbbf7c2670 100644 --- a/graphics/gimp-ufraw/distinfo +++ b/graphics/gimp-ufraw/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.34 2015/11/03 21:34:00 agc Exp $ +$NetBSD: distinfo,v 1.35 2019/08/20 14:31:03 gdt Exp $ SHA1 (ufraw-0.22.tar.gz) = 7fc33b66f4d6ecc277e1a5589c8e5db24568949c RMD160 (ufraw-0.22.tar.gz) = 2588acde88dda8c30310b967e7185862072c124c SHA512 (ufraw-0.22.tar.gz) = a42eff5052c18afec90245cf97ceeade78e3f288186cf697ac4abf2e8290d4081db8ac4de3ae47b3774f30a6cb4cbda392099e6fd2125fe751abb40d9b065ad2 Size (ufraw-0.22.tar.gz) = 1103554 bytes +SHA1 (patch-ufraw__exiv2.cc) = c6f3c6bd9ec8cdc3dee1801f9b1972bbe827cd8d diff --git a/graphics/gimp-ufraw/patches/patch-ufraw__exiv2.cc b/graphics/gimp-ufraw/patches/patch-ufraw__exiv2.cc new file mode 100644 index 00000000000..4f115344a91 --- /dev/null +++ b/graphics/gimp-ufraw/patches/patch-ufraw__exiv2.cc @@ -0,0 +1,27 @@ +$NetBSD: patch-ufraw__exiv2.cc,v 1.1 2019/08/20 14:31:03 gdt Exp $ + +Adjust to newer exiv2. + +Not yet sent upstream. + +--- ufraw_exiv2.cc.orig 2015-06-16 03:58:38.000000000 +0000 ++++ ufraw_exiv2.cc +@@ -17,7 +17,9 @@ + #ifdef HAVE_EXIV2 + #include <exiv2/image.hpp> + #include <exiv2/easyaccess.hpp> ++#include <exiv2/error.hpp> + #include <exiv2/exif.hpp> ++#include <iostream> + #include <sstream> + #include <cassert> + +@@ -67,7 +69,7 @@ extern "C" int ufraw_exif_read_input(ufr + if (exifData.empty()) { + std::string error(uf->filename); + error += ": No Exif data found in the file"; +- throw Exiv2::Error(1, error); ++ throw Exiv2::Error(Exiv2::kerGeneralError, error); + } + + /* List of tag names taken from exiv2's printSummary() in actions.cpp */ |