diff --git a/packages/graphics/tiff/package.mk b/packages/graphics/tiff/package.mk index b628b6f189..46b862e507 100644 --- a/packages/graphics/tiff/package.mk +++ b/packages/graphics/tiff/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) PKG_NAME="tiff" -PKG_VERSION="4.7.0" -PKG_SHA256="67160e3457365ab96c5b3286a0903aa6e78bdc44c4bc737d2e486bcecb6ba976" +PKG_VERSION="4.7.1" +PKG_SHA256="f698d94f3103da8ca7438d84e0344e453fe0ba3b7486e04c5bf7a9a3fabe9b69" PKG_LICENSE="OSS" PKG_SITE="http://www.remotesensing.org/libtiff/" PKG_URL="http://download.osgeo.org/libtiff/${PKG_NAME}-${PKG_VERSION}.tar.gz" diff --git a/packages/graphics/tiff/patches/tiff-0001-cmake--Replace-CMath--CMath-with-direct-link-to-avoid-export-of-target.patch b/packages/graphics/tiff/patches/tiff-0001-cmake--Replace-CMath--CMath-with-direct-link-to-avoid-export-of-target.patch index e1be5f398a..f3b021b548 100644 --- a/packages/graphics/tiff/patches/tiff-0001-cmake--Replace-CMath--CMath-with-direct-link-to-avoid-export-of-target.patch +++ b/packages/graphics/tiff/patches/tiff-0001-cmake--Replace-CMath--CMath-with-direct-link-to-avoid-export-of-target.patch @@ -43,10 +43,10 @@ diff --git a/contrib/dbs/CMakeLists.txt b/contrib/dbs/CMakeLists.txt index 74b2a02a0..18b7ea8b4 100644 --- a/contrib/dbs/CMakeLists.txt +++ b/contrib/dbs/CMakeLists.txt -@@ -26,13 +26,19 @@ add_executable(tiff-bi tiff-bi.c) - target_link_libraries(tiff-bi tiff tiff_port) +@@ -28,7 +28,10 @@ add_executable(tiff-grayscale tiff-grayscale.c) + set_target_properties(tiff-grayscale PROPERTIES LINKER_LANGUAGE CXX) -target_link_libraries(tiff-grayscale tiff tiff_port CMath::CMath) +target_link_libraries(tiff-grayscale PRIVATE tiff tiff_port) +if(CMath_LIBRARIES) @@ -54,9 +54,11 @@ index 74b2a02a0..18b7ea8b4 100644 +endif() add_executable(tiff-palette tiff-palette.c) - target_link_libraries(tiff-palette tiff tiff_port) + set_target_properties(tiff-palette PROPERTIES LINKER_LANGUAGE CXX) +@@ -36,7 +39,10 @@ add_executable(tiff-rgb tiff-rgb.c) + set_target_properties(tiff-rgb PROPERTIES LINKER_LANGUAGE CXX) -target_link_libraries(tiff-rgb tiff tiff_port CMath::CMath) +target_link_libraries(tiff-rgb PRIVATE tiff tiff_port) +if(CMath_LIBRARIES) @@ -69,7 +71,7 @@ diff --git a/libtiff/CMakeLists.txt b/libtiff/CMakeLists.txt index a8aa0c320..a65f3c230 100755 --- a/libtiff/CMakeLists.txt +++ b/libtiff/CMakeLists.txt -@@ -184,9 +184,9 @@ if(WEBP_SUPPORT) +@@ -179,9 +179,9 @@ if(WEBP_SUPPORT) target_link_libraries(tiff PRIVATE WebP::webp) string(APPEND tiff_requires_private " libwebp") endif()