diff options
| author | Billy O'Neal <bion@microsoft.com> | 2020-05-26 22:50:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 22:50:28 -0700 |
| commit | 7e4ab7967a92fe8dfe889b039425348b8c471030 (patch) | |
| tree | 25b50ea6d6cf1804e568c90840c33d25c5c0a6ad | |
| parent | d4b6f751b77ff12c94589ee3818e35b105fc40cf (diff) | |
| download | vcpkg-7e4ab7967a92fe8dfe889b039425348b8c471030.tar.gz vcpkg-7e4ab7967a92fe8dfe889b039425348b8c471030.zip | |
[telnetpp] Add missing <ostream> for Visual Studio 2019 16.6 (#11573)
* [telnetpp] Add missing <ostream> for Visual Studio 2019, previously submitted as https://patch-diff.githubusercontent.com/raw/KazDragon/telnetpp/pull/215
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
| -rw-r--r-- | ports/telnetpp/CONTROL | 4 | ||||
| -rw-r--r-- | ports/telnetpp/github-215.patch | 47 | ||||
| -rw-r--r-- | ports/telnetpp/portfile.cmake | 4 |
3 files changed, 52 insertions, 3 deletions
diff --git a/ports/telnetpp/CONTROL b/ports/telnetpp/CONTROL index ffb5ef01a..3118d13bc 100644 --- a/ports/telnetpp/CONTROL +++ b/ports/telnetpp/CONTROL @@ -1,5 +1,5 @@ Source: telnetpp
-Version: 2.0-3
+Version: 2.0-4
Homepage: https://github.com/KazDragon/telnetpp
Description: Telnet++ is an implementation of the Telnet Session Layer protocol using C++14
Build-Depends: boost-container, boost-signals2, boost-variant, gsl-lite, boost-exception
@@ -8,4 +8,4 @@ Supports: !uwp Feature: zlib
Description: Zlib support
-Build-Depends: zlib
\ No newline at end of file +Build-Depends: zlib
diff --git a/ports/telnetpp/github-215.patch b/ports/telnetpp/github-215.patch new file mode 100644 index 000000000..57461b9a7 --- /dev/null +++ b/ports/telnetpp/github-215.patch @@ -0,0 +1,47 @@ + +--- + include/telnetpp/options/msdp/variable.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/telnetpp/options/msdp/variable.hpp b/include/telnetpp/options/msdp/variable.hpp +index 16dae0c..d74a6da 100644 +--- a/include/telnetpp/options/msdp/variable.hpp ++++ b/include/telnetpp/options/msdp/variable.hpp +@@ -5,6 +5,7 @@ + #include <boost/variant.hpp> + #include <iosfwd> + #include <string> ++#include <ostream> + + namespace telnetpp { namespace options { namespace msdp { + + + +--- + include/telnetpp/options/msdp/variable.hpp | 1 - + src/options/msdp/variable.cpp | 1 + + 2 files changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/telnetpp/options/msdp/variable.hpp b/include/telnetpp/options/msdp/variable.hpp +index d74a6da..16dae0c 100644 +--- a/include/telnetpp/options/msdp/variable.hpp ++++ b/include/telnetpp/options/msdp/variable.hpp +@@ -5,7 +5,6 @@ + #include <boost/variant.hpp> + #include <iosfwd> + #include <string> +-#include <ostream> + + namespace telnetpp { namespace options { namespace msdp { + +diff --git a/src/options/msdp/variable.cpp b/src/options/msdp/variable.cpp +index dc779ea..82549e9 100644 +--- a/src/options/msdp/variable.cpp ++++ b/src/options/msdp/variable.cpp +@@ -1,5 +1,6 @@ + #include "telnetpp/options/msdp/variable.hpp" + #include "telnetpp/detail/lambda_visitor.hpp" ++#include <ostream> + + namespace telnetpp { namespace options { namespace msdp { + diff --git a/ports/telnetpp/portfile.cmake b/ports/telnetpp/portfile.cmake index e71e59f74..26154cf33 100644 --- a/ports/telnetpp/portfile.cmake +++ b/ports/telnetpp/portfile.cmake @@ -8,7 +8,9 @@ vcpkg_from_github( REF 8dc780579293153ad2ae9ad6943815c050d4c659 SHA512 280a8e6c0392f5822b05968520d176d1510f00c12a2502f6039f4f1f78a558e61f825a231fb70b7de6fd21a18b24734eea3ba36a24b29f2a7e9856b1f4de5217 HEAD_REF master - PATCHES fix-build-error.patch + PATCHES + fix-build-error.patch + github-215.patch ) set(USE_ZLIB OFF) |
