aboutsummaryrefslogtreecommitdiff
path: root/ports/xeus
diff options
context:
space:
mode:
Diffstat (limited to 'ports/xeus')
-rw-r--r--ports/xeus/Fix-Compile-nlohmann-json.patch12
-rw-r--r--ports/xeus/portfile.cmake4
2 files changed, 15 insertions, 1 deletions
diff --git a/ports/xeus/Fix-Compile-nlohmann-json.patch b/ports/xeus/Fix-Compile-nlohmann-json.patch
new file mode 100644
index 000000000..7381d14ca
--- /dev/null
+++ b/ports/xeus/Fix-Compile-nlohmann-json.patch
@@ -0,0 +1,12 @@
+diff --git a/src/xmessage.cpp b/src/xmessage.cpp
+index 0d6ad99..621d838 100644
+--- a/src/xmessage.cpp
++++ b/src/xmessage.cpp
+@@ -12,6 +12,7 @@
+ #include <sstream>
+ #include <string>
+ #include <utility>
++#include <ciso646>
+
+ #include "xeus/xguid.hpp"
+ #include "xeus/xmessage.hpp"
diff --git a/ports/xeus/portfile.cmake b/ports/xeus/portfile.cmake
index 5dd646d7f..577dbff1c 100644
--- a/ports/xeus/portfile.cmake
+++ b/ports/xeus/portfile.cmake
@@ -4,7 +4,9 @@ vcpkg_from_github(
REF 8408f237f33514610a59d19a5ff045ee70dfa02b
SHA512 41282addbe5519b6d357e802c48483834cd951604bfeb8c99d96f02d03dec2fc66ea4c091f40ec09348bb60587e8a6efef5e6eb2bb950ba720fc8ceb7a107960
HEAD_REF master
- PATCHES Fix-TypeConversion.patch
+ PATCHES
+ Fix-TypeConversion.patch
+ Fix-Compile-nlohmann-json.patch
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC_LIBS)