From 7e4ab7967a92fe8dfe889b039425348b8c471030 Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Tue, 26 May 2020 22:50:28 -0700 Subject: [PATCH] [telnetpp] Add missing for Visual Studio 2019 16.6 (#11573) * [telnetpp] Add missing 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> --- ports/telnetpp/CONTROL | 4 +-- ports/telnetpp/github-215.patch | 47 +++++++++++++++++++++++++++++++++ ports/telnetpp/portfile.cmake | 4 ++- 3 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 ports/telnetpp/github-215.patch diff --git a/ports/telnetpp/CONTROL b/ports/telnetpp/CONTROL index ffb5ef01a3..3118d13bcc 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 0000000000..57461b9a7a --- /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 + #include + #include ++#include + + 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 + #include + #include +-#include + + 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 + + namespace telnetpp { namespace options { namespace msdp { + diff --git a/ports/telnetpp/portfile.cmake b/ports/telnetpp/portfile.cmake index e71e59f742..26154cf33c 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)