Update to exiv2 0.20.

ok sthen@ espie@
This commit is contained in:
landry 2010-07-12 08:55:38 +00:00
parent 57759e0092
commit 3fbe027844
5 changed files with 27 additions and 15 deletions

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.8 2010/05/28 14:39:51 espie Exp $
# $OpenBSD: Makefile,v 1.9 2010/07/12 08:55:38 landry Exp $
HOMEPAGE= http://www.exiv2.org/
COMMENT= manipulate image meta-data such as exif and ipct
CATEGORIES= graphics devel
MASTER_SITES= ${HOMEPAGE}
DISTNAME= exiv2-0.18.2
PKGNAME= ${DISTNAME}p1
DISTNAME= exiv2-0.20
SHARED_LIBS += exiv2 3.1 # .8.1
SHARED_LIBS += exiv2 4.0 # .9.0
WANTLIB += c m stdc++ z expat pthread
USE_LIBTOOL= Yes

View File

@ -1,5 +1,5 @@
MD5 (exiv2-0.18.2.tar.gz) = MAzFXgmNf/dWC0xpkigsUw==
RMD160 (exiv2-0.18.2.tar.gz) = fvJiG0/XYEEVeyR60nRAWf+kAK8=
SHA1 (exiv2-0.18.2.tar.gz) = RSyCSngIQ6Vo7u9o8weF7kFBsKg=
SHA256 (exiv2-0.18.2.tar.gz) = pLjnIDeKve3AL45vlvQFLMTugiMXxiAKqJgz99RgaCo=
SIZE (exiv2-0.18.2.tar.gz) = 2394263
MD5 (exiv2-0.20.tar.gz) = MXPQikMT3JS3vRt829ogkw==
RMD160 (exiv2-0.20.tar.gz) = 8xjMReC1EsvlCMGb9b7nOXsLoVo=
SHA1 (exiv2-0.20.tar.gz) = PrqwrNEUpGP+EYgb2V8cPiWMfAw=
SHA256 (exiv2-0.20.tar.gz) = dIXyUsGBGeYc3x1zSHvwxePaZwfezWI4QHUEhHsyOXI=
SIZE (exiv2-0.20.tar.gz) = 2941045

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_value_cpp,v 1.3 2009/09/10 16:43:28 sthen Exp $
--- src/value.cpp.orig Mon Feb 16 14:30:51 2009
+++ src/value.cpp Sun Jun 28 14:43:11 2009
@@ -827,7 +827,7 @@ namespace Exiv2 {
$OpenBSD: patch-src_value_cpp,v 1.4 2010/07/12 08:55:38 landry Exp $
--- src/value.cpp.orig Wed Apr 14 18:17:55 2010
+++ src/value.cpp Thu Jul 1 22:45:05 2010
@@ -971,7 +971,7 @@ namespace Exiv2 {
// sprintf wants to add the null terminator, so use oversized buffer
char temp[9];
@ -10,7 +10,7 @@ $OpenBSD: patch-src_value_cpp,v 1.3 2009/09/10 16:43:28 sthen Exp $
date_.year, date_.month, date_.day);
assert(wrote == 8);
std::memcpy(buf, temp, 8);
@@ -975,7 +975,7 @@ namespace Exiv2 {
@@ -1143,7 +1143,7 @@ namespace Exiv2 {
char plusMinus = '+';
if (time_.tzHour < 0 || time_.tzMinute < 0) plusMinus = '-';

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-xmpsdk_src_XMPMeta-Serialize_cpp,v 1.1 2010/07/12 08:55:38 landry Exp $
--- xmpsdk/src/XMPMeta-Serialize.cpp.orig Sat Jul 3 08:40:50 2010
+++ xmpsdk/src/XMPMeta-Serialize.cpp Sat Jul 3 08:41:19 2010
@@ -303,7 +303,7 @@ AppendNodeValue ( XMP_VarString & outputStr, const XMP
XMP_Assert ( (ch == kTab) || (ch == kLF) || (ch == kCR) );
char hexBuf[16];
- memcpy ( hexBuf, "&#xn;", 10 ); // AUDIT: Length of "&#xn;" is 5, hexBuf size is 16.
+ strlcpy ( hexBuf, "&#xn;", 10 ); // AUDIT: Length of "&#xn;" is 5, hexBuf size is 16.
hexBuf[3] = kHexDigits[ch&0xF];
outputStr.append ( hexBuf, 5 );

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2009/09/10 16:43:28 sthen Exp $
@comment $OpenBSD: PLIST,v 1.5 2010/07/12 08:55:38 landry Exp $
%%SHARED%%
@bin bin/exiv2
include/exiv2/
@ -29,6 +29,7 @@ include/exiv2/olympusmn.hpp
include/exiv2/orfimage.hpp
include/exiv2/panasonicmn.hpp
include/exiv2/pentaxmn.hpp
include/exiv2/pgfimage.hpp
include/exiv2/pngimage.hpp
include/exiv2/preview.hpp
include/exiv2/properties.hpp