python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / exiv2 / patches / 5405d616.patch
blob516b9807e74804a513f4769c25062df0e5b527bb
1 From 5405d61623e82896e498c5c8342dd6f42e689115 Mon Sep 17 00:00:00 2001
2 From: clanmills <robin@clanmills.com>
3 Date: Tue, 12 Sep 2017 09:14:42 +0100
4 Subject: [PATCH] Fix http://dev.exiv2.org/issues/1305
6 ---
7 src/pentaxmn.cpp | 2 ++
8 1 file changed, 2 insertions(+)
10 diff --git a/src/pentaxmn.cpp b/src/pentaxmn.cpp
11 index 4fc38be0..b22cb43b 100644
12 --- src/pentaxmn.cpp
13 +++ src/pentaxmn.cpp
14 @@ -1167,6 +1167,8 @@ namespace Exiv2 {
16 std::ostream& PentaxMakerNote::printShutterCount(std::ostream& os, const Value& value, const ExifData* metadata)
18 + if ( ! metadata ) return os << "undefined" ;
20 ExifData::const_iterator dateIt = metadata->findKey(
21 ExifKey("Exif.PentaxDng.Date"));
22 if (dateIt == metadata->end()) {