Update to exiv2-0.27.4.

This commit is contained in:
ajacoutot 2021-09-02 09:37:57 +00:00
parent 71e47ffe2f
commit 8a01b671c6
4 changed files with 10 additions and 32 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.35 2021/02/25 22:26:02 sthen Exp $
# $OpenBSD: Makefile,v 1.36 2021/09/02 09:37:57 ajacoutot Exp $
COMMENT= image metadata manipulation
CATEGORIES= graphics devel
DISTNAME= exiv2-0.27.3-Source
PKGNAME= exiv2-0.27.3
DISTNAME= exiv2-0.27.4-Source
PKGNAME= exiv2-0.27.4
EPOCH= 0
SHARED_LIBS += exiv2 12.0 # 14.0
@ -30,6 +30,9 @@ CONFIGURE_ARGS = -DEXIV2_ENABLE_NLS=ON
FIX_CRLF_FILES = cmake/compilerFlags.cmake
# XXX ninja: error: unknown target 'test', did you mean 'tests'?
NO_TEST = Yes
.include <bsd.port.mk>
.if ${USE_CCACHE:L} == "yes"
CONFIGURE_ARGS += -DBUILD_WITH_CCACHE=0N

View File

@ -1,2 +1,2 @@
SHA256 (exiv2-0.27.3-Source.tar.gz) = p59WE4EqohdV1Xiil4dPtZqFEB55Ptxk7Cxr2ZTj53g=
SIZE (exiv2-0.27.3-Source.tar.gz) = 26447901
SHA256 (exiv2-0.27.4-Source.tar.gz) = hDZtunwWKvmnYDvNbBb0D+DprylLov0vZv//ufvskE4=
SIZE (exiv2-0.27.4-Source.tar.gz) = 32055837

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-cmake_compilerFlags_cmake,v 1.5 2021/03/05 14:34:58 kmos Exp $
-fcf-protection isn't supported on all platforms (sparc64 in particular)
Index: cmake/compilerFlags.cmake
--- cmake/compilerFlags.cmake.orig
+++ cmake/compilerFlags.cmake
@@ -26,7 +26,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CY
# This fails under Fedora, MinGW GCC 8.3.0 and CYGWIN/MSYS 9.3.0
if (NOT (MINGW OR CMAKE_HOST_SOLARIS OR CYGWIN OR MSYS) )
if (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
- add_compile_options(-fstack-clash-protection -fcf-protection)
+ add_compile_options(-fstack-clash-protection)
endif()
if( (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 5.0) # Not in GCC 4.8
@@ -49,7 +49,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CY
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} --coverage")
endif()
- add_compile_options(-Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W)
+ add_compile_options(-Wall -Wcast-align -Wpointer-arith -Wformat-security -Woverloaded-virtual -W)
# This seems to be causing issues in the Fedora_MinGW GitLab job
#add_compile_options(-fasynchronous-unwind-tables)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2021/01/24 18:30:50 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.15 2021/09/02 09:37:57 ajacoutot Exp $
@bin bin/addmoddel
@bin bin/exifcomment
@bin bin/exifdata
@ -19,7 +19,7 @@
include/exiv2/
include/exiv2/asfvideo.hpp
include/exiv2/basicio.hpp
include/exiv2/bigtiffimage.hpp
include/exiv2/bmffimage.hpp
include/exiv2/bmpimage.hpp
include/exiv2/config.h
include/exiv2/convert.hpp