mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:53:02 +08:00
[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>
This commit is contained in:
parent
6ea5808fd9
commit
d4b6f751b7
@ -1,3 +1,4 @@
|
|||||||
Source: ponder
|
Source: ponder
|
||||||
Version: 3.0.0
|
Version: 3.0.0-1
|
||||||
Description: A C++ multi-purpose reflection library.
|
Description: A C++ multi-purpose reflection library.
|
||||||
|
Homepage: https://github.com/billyquith/ponder
|
||||||
|
21
ports/ponder/github-121.patch
Normal file
21
ports/ponder/github-121.patch
Normal file
@ -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
|
@ -1,5 +1,3 @@
|
|||||||
include(vcpkg_common_functions)
|
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO billyquith/ponder
|
REPO billyquith/ponder
|
||||||
@ -8,6 +6,7 @@ vcpkg_from_github(
|
|||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES
|
PATCHES
|
||||||
no-install-unused.patch
|
no-install-unused.patch
|
||||||
|
github-121.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
|
Loading…
Reference in New Issue
Block a user