Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ports/replxx/CONTROL
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Source: replxx
Version: 0.0.2-1
Version: 0.0.2-2
Homepage: https://github.com/AmokHuginnsson/replxx
Description: A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters.
Supports: !uwp

17 changes: 17 additions & 0 deletions ports/replxx/add-stdexcept.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/src/io.cxx b/src/io.cxx
index a098867..6159e4b 100644
--- a/src/io.cxx
+++ b/src/io.cxx
@@ -2,6 +2,7 @@
#include <cerrno>
#include <cstdlib>
#include <cstring>
+#include <stdexcept>
#include <array>

#ifdef _WIN32
@@ -671,4 +672,3 @@ int Terminal::read_verbatim( char32_t* buffer_, int size_ ) {
#endif

}
-
2 changes: 2 additions & 0 deletions ports/replxx/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ vcpkg_from_github(
REF 45696c250ce39ab21dedeea962b94d7827007a8c
SHA512 7beec508fa3049fe5a736a487728506d646d26d7194ef7453fc07bceade1982430808fab0a10ca9b1c43a8b87bf3a973f5cfe4aa22ed06927647c9a7244167fd
HEAD_REF master
PATCHES
add-stdexcept.patch
)

vcpkg_configure_cmake(
Expand Down