diff options
| author | Billy O'Neal <bion@microsoft.com> | 2020-05-26 22:38:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 22:38:56 -0700 |
| commit | d4b6f751b77ff12c94589ee3818e35b105fc40cf (patch) | |
| tree | ff79ed6f6cafa24da845376e2773e785cd4af71f | |
| parent | 6ea5808fd9c09f8aafc4824e555bb3a8dc3fdba9 (diff) | |
| download | vcpkg-d4b6f751b77ff12c94589ee3818e35b105fc40cf.tar.gz vcpkg-d4b6f751b77ff12c94589ee3818e35b105fc40cf.zip | |
[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>
| -rw-r--r-- | ports/ponder/CONTROL | 3 | ||||
| -rw-r--r-- | ports/ponder/github-121.patch | 21 | ||||
| -rw-r--r-- | ports/ponder/portfile.cmake | 3 |
3 files changed, 24 insertions, 3 deletions
diff --git a/ports/ponder/CONTROL b/ports/ponder/CONTROL index 7f935d304..6efa61799 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 000000000..e7564429d --- /dev/null +++ b/ports/ponder/github-121.patch @@ -0,0 +1,21 @@ +From 83b292f263b92082e981a82f5777d927a61772ee Mon Sep 17 00:00:00 2001 +From: Cheney-Wang <v-xincwa@microsoft.com> +Date: Fri, 13 Mar 2020 02:50:33 -0700 +Subject: [PATCH] Include <ostream> 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 <ostream> //In future MSVC, <string> doesn't transitively <ostream>, ponder will compile failed with error C2027 and C2065, so add <ostream> 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 8543643b5..5c800cd7e 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(
|
