From f4a382c0ff78f6af54fc84430720d662a282c237 Mon Sep 17 00:00:00 2001 From: Weihang Ding <798047000@qq.com> Date: Mon, 23 Dec 2024 23:43:18 +0800 Subject: [PATCH] [tinyexr] Bump to 1.0.9 (#42874) --- ports/tinyexr/fixtargets.patch | 16 ++++++++-------- ports/tinyexr/portfile.cmake | 2 +- ports/tinyexr/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/t-/tinyexr.json | 5 +++++ 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/ports/tinyexr/fixtargets.patch b/ports/tinyexr/fixtargets.patch index 867438426f..7823f51565 100644 --- a/ports/tinyexr/fixtargets.patch +++ b/ports/tinyexr/fixtargets.patch @@ -1,5 +1,5 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6d03e7e..be416f5 100644 +index b7f97b0..2afd0e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,20 @@ set(SAMPLE_TARGET "test_tinyexr") @@ -40,13 +40,13 @@ index 6d03e7e..be416f5 100644 @@ -43,7 +54,7 @@ target_link_libraries(${BUILD_TARGET} ${TINYEXR_EXT_LIBRARIES} ${CMAKE_DL_LIBS}) # Increase warning level for clang. - IF (CMAKE_CXX_COMPILER_ID MATCHES "Clang") -- set_source_files_properties(${TINYEXR_SOURCES} PROPERTIES COMPILE_FLAGS "-Weverything -Werror -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function") -+ set_source_files_properties(${TINYEXR_SOURCES} PROPERTIES COMPILE_FLAGS "-Weverything -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function") - ENDIF () - - if (TINYEXR_BUILD_SAMPLE) -@@ -72,3 +83,32 @@ if (TINYEXR_BUILD_SAMPLE) + if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT MSVC) +- set(CLANG_COMPILE_FLAGS "-Weverything -Werror -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function") ++ set(CLANG_COMPILE_FLAGS "-Weverything -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function") + if (${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER 16) + set(CLANG_COMPILE_FLAGS "${CLANG_COMPILE_FLAGS} -Wno-unsafe-buffer-usage") + endif() +@@ -76,3 +87,32 @@ if (TINYEXR_BUILD_SAMPLE) endif(WIN32) endif (TINYEXR_BUILD_SAMPLE) diff --git a/ports/tinyexr/portfile.cmake b/ports/tinyexr/portfile.cmake index a4568787f3..b4cc941679 100644 --- a/ports/tinyexr/portfile.cmake +++ b/ports/tinyexr/portfile.cmake @@ -4,7 +4,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO syoyo/tinyexr REF "v${VERSION}" - SHA512 583404c77009ec88d75accf006f90ee8972d2205bbae41e460d2cbb9a54d9382735a82eba0657fcc5f4e8b3b0fadd51449cec440529570e75c307eb7f0fcc8fb + SHA512 19187cbd703c7a2f9e5322a123453cbd56d2b842d1e8f026831d405e9356b8f2a7fde5a2c6b601ee3a28f0a00293d635245b8b70bf03375cce56b5b816d5d54a HEAD_REF master PATCHES fixtargets.patch diff --git a/ports/tinyexr/vcpkg.json b/ports/tinyexr/vcpkg.json index 173e0e4f02..f9ea4ead7d 100644 --- a/ports/tinyexr/vcpkg.json +++ b/ports/tinyexr/vcpkg.json @@ -1,6 +1,6 @@ { "name": "tinyexr", - "version": "1.0.8", + "version": "1.0.9", "description": "Library to load and save OpenEXR(.exr) images", "homepage": "https://github.com/syoyo/tinyexr", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index 71a5fe7fd2..84b101ab3e 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8993,7 +8993,7 @@ "port-version": 2 }, "tinyexr": { - "baseline": "1.0.8", + "baseline": "1.0.9", "port-version": 0 }, "tinyfiledialogs": { diff --git a/versions/t-/tinyexr.json b/versions/t-/tinyexr.json index 60f9580905..94396e1575 100644 --- a/versions/t-/tinyexr.json +++ b/versions/t-/tinyexr.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d2b22b1785f27ed281bc1d3da4e3853e0c4846f5", + "version": "1.0.9", + "port-version": 0 + }, { "git-tree": "8912e0ebb371923d28ba6a2cc8ab5ecd47957e51", "version": "1.0.8",