From b6bde16b1ea075f834724f963405af7e7d7e04a8 Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Thu, 24 Nov 2022 20:02:07 -0800 Subject: [PATCH] [rttr] Add upstream patch for missing #include (#28000) Resolves build failure detected in https://github.com/microsoft/vcpkg/pull/27718 --- ports/rttr/253.patch | 12 ++++++++++++ ports/rttr/portfile.cmake | 1 + ports/rttr/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/r-/rttr.json | 5 +++++ 5 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 ports/rttr/253.patch diff --git a/ports/rttr/253.patch b/ports/rttr/253.patch new file mode 100644 index 00000000000000..c7d0d12c928e89 --- /dev/null +++ b/ports/rttr/253.patch @@ -0,0 +1,12 @@ +diff --git a/src/rttr/variant.h b/src/rttr/variant.h +index cec094b0..40978e3b 100644 +--- a/src/rttr/variant.h ++++ b/src/rttr/variant.h +@@ -38,6 +38,7 @@ + #include + #include + #include ++#include + + namespace rttr + { diff --git a/ports/rttr/portfile.cmake b/ports/rttr/portfile.cmake index 9b8f01ca08162a..646f98ead8fa45 100644 --- a/ports/rttr/portfile.cmake +++ b/ports/rttr/portfile.cmake @@ -8,6 +8,7 @@ vcpkg_from_github( fix-directory-output.patch Fix-depends.patch remove-owner-read-perms.patch + 253.patch # https://github.com/rttrorg/rttr/pull/253/ ) if("${VCPKG_LIBRARY_LINKAGE}" STREQUAL "static" AND "${VCPKG_CRT_LINKAGE}" STREQUAL "static") diff --git a/ports/rttr/vcpkg.json b/ports/rttr/vcpkg.json index d1d1389cd5b042..416c3ebbec88a6 100644 --- a/ports/rttr/vcpkg.json +++ b/ports/rttr/vcpkg.json @@ -1,7 +1,7 @@ { "name": "rttr", "version": "0.9.6", - "port-version": 4, + "port-version": 5, "description": "an easy and intuitive way to use reflection in C++", "homepage": "https://github.com/rttrorg/rttr", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index 13c389eea7d638..71c1cce9cee057 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6686,7 +6686,7 @@ }, "rttr": { "baseline": "0.9.6", - "port-version": 4 + "port-version": 5 }, "rubberband": { "baseline": "3.1.1", diff --git a/versions/r-/rttr.json b/versions/r-/rttr.json index a3dccce7947609..6841b448928f40 100644 --- a/versions/r-/rttr.json +++ b/versions/r-/rttr.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "2a535fc9ac44aea50a9e4f41a4698b86b1a2e747", + "version": "0.9.6", + "port-version": 5 + }, { "git-tree": "14ae0cb613a9536333e7463b862276ad0e2e89ee", "version": "0.9.6",