Really update to version 0.27.5.
This commit is contained in:
parent
daaad573f9
commit
2611b197ca
@ -1,16 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.38 2021/10/31 20:20:45 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.39 2021/11/03 06:54:05 ajacoutot Exp $
|
||||
|
||||
COMMENT= image metadata manipulation
|
||||
|
||||
CATEGORIES= graphics devel
|
||||
|
||||
DISTNAME= exiv2-0.27.4-Source
|
||||
PKGNAME= exiv2-0.27.5
|
||||
DISTNAME= exiv2-0.27.5-Source
|
||||
PKGNAME= ${DISTNAME:S/-Source//}
|
||||
EPOCH= 0
|
||||
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
SHARED_LIBS += exiv2 12.0 # 14.0
|
||||
SHARED_LIBS += exiv2 12.1 # 14.0
|
||||
|
||||
HOMEPAGE= https://www.exiv2.org/
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (exiv2-0.27.4-Source.tar.gz) = hDZtunwWKvmnYDvNbBb0D+DprylLov0vZv//ufvskE4=
|
||||
SIZE (exiv2-0.27.4-Source.tar.gz) = 32055837
|
||||
SHA256 (exiv2-0.27.5-Source.tar.gz) = NaWGGKsjapAcpJKLCtizEAfr3AOG2QRAnYJQJORepuI=
|
||||
SIZE (exiv2-0.27.5-Source.tar.gz) = 32720608
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_actions_cpp,v 1.6 2021/10/31 15:08:00 ajacoutot Exp $
|
||||
$OpenBSD: patch-src_actions_cpp,v 1.7 2021/11/03 06:54:05 ajacoutot Exp $
|
||||
|
||||
XXX
|
||||
"By default pthread mutexes aren't recursive, this would be a problem if exiv2
|
||||
@ -8,7 +8,7 @@ mutex, I'll admit that it's a bit cumbersome to use." -- jca@
|
||||
Index: src/actions.cpp
|
||||
--- src/actions.cpp.orig
|
||||
+++ src/actions.cpp
|
||||
@@ -1921,11 +1921,7 @@ namespace {
|
||||
@@ -1923,11 +1923,7 @@ namespace {
|
||||
static pthread_mutex_t cs = PTHREAD_MUTEX_INITIALIZER;
|
||||
#endif
|
||||
#else
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-src_value_cpp,v 1.12 2021/10/31 15:08:00 ajacoutot Exp $
|
||||
|
||||
Avoid sprintf warnings when linking with libexiv2.
|
||||
|
||||
Index: src/value.cpp
|
||||
--- src/value.cpp.orig
|
||||
+++ src/value.cpp
|
||||
@@ -1031,7 +1031,7 @@ namespace Exiv2 {
|
||||
// sprintf wants to add the null terminator, so use oversized buffer
|
||||
char temp[9];
|
||||
|
||||
- int wrote = sprintf(temp, "%04d%02d%02d", date_.year, date_.month, date_.day);
|
||||
+ int wrote = snprintf(temp, sizeof temp, "%04d%02d%02d", date_.year, date_.month, date_.day);
|
||||
assert(wrote == 8);
|
||||
std::memcpy(buf, temp, wrote);
|
||||
return wrote;
|
@ -1,11 +1,11 @@
|
||||
$OpenBSD: patch-src_version_cpp,v 1.10 2021/10/31 15:08:00 ajacoutot Exp $
|
||||
$OpenBSD: patch-src_version_cpp,v 1.11 2021/11/03 06:54:05 ajacoutot Exp $
|
||||
|
||||
getProcessPath() doesn't work on OpenBSD.
|
||||
|
||||
Index: src/version.cpp
|
||||
--- src/version.cpp.orig
|
||||
+++ src/version.cpp
|
||||
@@ -498,7 +498,7 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv
|
||||
@@ -497,7 +497,7 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv
|
||||
output(os,keys,"version" , __VERSION__);
|
||||
output(os,keys,"date" , __DATE__ );
|
||||
output(os,keys,"time" , __TIME__ );
|
||||
|
Loading…
Reference in New Issue
Block a user