exiv2: update to 0.27.1

This commit is contained in:
Leonid Pliushch 2019-05-15 22:55:48 +03:00
parent 8effea928d
commit bf05b58419
2 changed files with 3 additions and 26 deletions

View File

@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://exiv2.org/
TERMUX_PKG_DESCRIPTION="Exif, Iptc and XMP metadata manipulation library and tools"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_VERSION=0.26
TERMUX_PKG_REVISION=7
TERMUX_PKG_SRCURL=https://github.com/Exiv2/exiv2/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=51cffa8d19d67e1da6c1d0f570a75b8f6c814113367318c2c0407691888c5f01
TERMUX_PKG_VERSION=0.27.1
TERMUX_PKG_SRCURL=https://github.com/Exiv2/exiv2/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=1b3766b2c203ce213a4195de14d61694017ec1a69d15d4575bccecef130990fe
TERMUX_PKG_DEPENDS="libandroid-support, libc++, libexpat, zlib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

View File

@ -1,22 +0,0 @@
From 5405d61623e82896e498c5c8342dd6f42e689115 Mon Sep 17 00:00:00 2001
From: clanmills <robin@clanmills.com>
Date: Tue, 12 Sep 2017 09:14:42 +0100
Subject: [PATCH] Fix http://dev.exiv2.org/issues/1305
---
src/pentaxmn.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/pentaxmn.cpp b/src/pentaxmn.cpp
index 4fc38be0a..b22cb43b6 100644
--- a/src/pentaxmn.cpp
+++ b/src/pentaxmn.cpp
@@ -1167,6 +1167,8 @@ namespace Exiv2 {
std::ostream& PentaxMakerNote::printShutterCount(std::ostream& os, const Value& value, const ExifData* metadata)
{
+ if ( ! metadata ) return os << "undefined" ;
+
ExifData::const_iterator dateIt = metadata->findKey(
ExifKey("Exif.PentaxDng.Date"));
if (dateIt == metadata->end()) {