Skip to content

Commit f4a382c

Browse files
authored
[tinyexr] Bump to 1.0.9 (microsoft#42874)
1 parent 0ab0ae3 commit f4a382c

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

ports/tinyexr/fixtargets.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index 6d03e7e..be416f5 100644
2+
index b7f97b0..2afd0e0 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
55
@@ -7,6 +7,20 @@ set(SAMPLE_TARGET "test_tinyexr")
@@ -40,13 +40,13 @@ index 6d03e7e..be416f5 100644
4040
@@ -43,7 +54,7 @@ target_link_libraries(${BUILD_TARGET} ${TINYEXR_EXT_LIBRARIES} ${CMAKE_DL_LIBS})
4141

4242
# Increase warning level for clang.
43-
IF (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
44-
- set_source_files_properties(${TINYEXR_SOURCES} PROPERTIES COMPILE_FLAGS "-Weverything -Werror -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function")
45-
+ set_source_files_properties(${TINYEXR_SOURCES} PROPERTIES COMPILE_FLAGS "-Weverything -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function")
46-
ENDIF ()
47-
48-
if (TINYEXR_BUILD_SAMPLE)
49-
@@ -72,3 +83,32 @@ if (TINYEXR_BUILD_SAMPLE)
43+
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT MSVC)
44+
- set(CLANG_COMPILE_FLAGS "-Weverything -Werror -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function")
45+
+ set(CLANG_COMPILE_FLAGS "-Weverything -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function")
46+
if (${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER 16)
47+
set(CLANG_COMPILE_FLAGS "${CLANG_COMPILE_FLAGS} -Wno-unsafe-buffer-usage")
48+
endif()
49+
@@ -76,3 +87,32 @@ if (TINYEXR_BUILD_SAMPLE)
5050
endif(WIN32)
5151

5252
endif (TINYEXR_BUILD_SAMPLE)

ports/tinyexr/portfile.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ vcpkg_from_github(
44
OUT_SOURCE_PATH SOURCE_PATH
55
REPO syoyo/tinyexr
66
REF "v${VERSION}"
7-
SHA512 583404c77009ec88d75accf006f90ee8972d2205bbae41e460d2cbb9a54d9382735a82eba0657fcc5f4e8b3b0fadd51449cec440529570e75c307eb7f0fcc8fb
7+
SHA512 19187cbd703c7a2f9e5322a123453cbd56d2b842d1e8f026831d405e9356b8f2a7fde5a2c6b601ee3a28f0a00293d635245b8b70bf03375cce56b5b816d5d54a
88
HEAD_REF master
99
PATCHES
1010
fixtargets.patch

ports/tinyexr/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tinyexr",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Library to load and save OpenEXR(.exr) images",
55
"homepage": "https://github.com/syoyo/tinyexr",
66
"license": "BSD-3-Clause",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8993,7 +8993,7 @@
89938993
"port-version": 2
89948994
},
89958995
"tinyexr": {
8996-
"baseline": "1.0.8",
8996+
"baseline": "1.0.9",
89978997
"port-version": 0
89988998
},
89998999
"tinyfiledialogs": {

versions/t-/tinyexr.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "d2b22b1785f27ed281bc1d3da4e3853e0c4846f5",
5+
"version": "1.0.9",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "8912e0ebb371923d28ba6a2cc8ab5ecd47957e51",
510
"version": "1.0.8",

0 commit comments

Comments
 (0)