Skip to content

Commit

Permalink
[rttr] Add upstream patch for missing #include<string> (microsoft#28000)
Browse files Browse the repository at this point in the history
Resolves build failure detected in microsoft#27718
  • Loading branch information
BillyONeal authored Nov 25, 2022
1 parent c2c25d9 commit b6bde16
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
12 changes: 12 additions & 0 deletions ports/rttr/253.patch
Original file line number Diff line number Diff line change
@@ -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 <cstddef>
#include <cstdint>
#include <algorithm>
+#include <string>

namespace rttr
{
1 change: 1 addition & 0 deletions ports/rttr/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion ports/rttr/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6686,7 +6686,7 @@
},
"rttr": {
"baseline": "0.9.6",
"port-version": 4
"port-version": 5
},
"rubberband": {
"baseline": "3.1.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/rttr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2a535fc9ac44aea50a9e4f41a4698b86b1a2e747",
"version": "0.9.6",
"port-version": 5
},
{
"git-tree": "14ae0cb613a9536333e7463b862276ad0e2e89ee",
"version": "0.9.6",
Expand Down

0 comments on commit b6bde16

Please sign in to comment.