From d4b6f751b77ff12c94589ee3818e35b105fc40cf Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Tue, 26 May 2020 22:38:56 -0700 Subject: [PATCH] [ponder] patch missing headers for Visual Studio 2019 16.6 (#11582) * [ponder] patch missing headers, previously submitted as https://github.com/billyquith/ponder/pull/121 * Add home page. Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Remove vcpkg_common_functions. Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> --- ports/ponder/CONTROL | 3 ++- ports/ponder/github-121.patch | 21 +++++++++++++++++++++ ports/ponder/portfile.cmake | 3 +-- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 ports/ponder/github-121.patch diff --git a/ports/ponder/CONTROL b/ports/ponder/CONTROL index 7f935d30489..6efa617997f 100644 --- a/ports/ponder/CONTROL +++ b/ports/ponder/CONTROL @@ -1,3 +1,4 @@ Source: ponder -Version: 3.0.0 +Version: 3.0.0-1 Description: A C++ multi-purpose reflection library. +Homepage: https://github.com/billyquith/ponder diff --git a/ports/ponder/github-121.patch b/ports/ponder/github-121.patch new file mode 100644 index 00000000000..e7564429d40 --- /dev/null +++ b/ports/ponder/github-121.patch @@ -0,0 +1,21 @@ +From 83b292f263b92082e981a82f5777d927a61772ee Mon Sep 17 00:00:00 2001 +From: Cheney-Wang +Date: Fri, 13 Mar 2020 02:50:33 -0700 +Subject: [PATCH] Include in config.h + +--- + include/ponder/config.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/ponder/config.hpp b/include/ponder/config.hpp +index cd035c19..814403cd 100644 +--- a/include/ponder/config.hpp ++++ b/include/ponder/config.hpp +@@ -60,6 +60,7 @@ + #if defined(_MSC_VER) + #pragma warning(disable: 4275) // non dll-interface class 'X' used as base for dll-interface class 'Y' + #pragma warning(disable: 4251) // class 'X' needs to have dll-interface to be used by clients of class 'Y' ++ #include //In future MSVC, doesn't transitively , ponder will compile failed with error C2027 and C2065, so add for fixing these issues. + #endif + + #if defined(__GNUC__) && __GNUC__ <= 4 && __GNUC_MINOR__ < 9 diff --git a/ports/ponder/portfile.cmake b/ports/ponder/portfile.cmake index 8543643b5fd..5c800cd7e87 100644 --- a/ports/ponder/portfile.cmake +++ b/ports/ponder/portfile.cmake @@ -1,5 +1,3 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO billyquith/ponder @@ -8,6 +6,7 @@ vcpkg_from_github( HEAD_REF master PATCHES no-install-unused.patch + github-121.patch ) vcpkg_configure_cmake(