diff options
| author | Billy O'Neal <bion@microsoft.com> | 2020-05-26 21:03:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 21:03:19 -0700 |
| commit | cff57958e7025176ee3af5c027b417c4dcc44d80 (patch) | |
| tree | a94b0992b191a09003ad033a4c3835e2a12b10be /ports/replxx/add-stdexcept.patch | |
| parent | b08757ea9a74f2857e7cecdf5a1fe74b9a1b7a06 (diff) | |
| download | vcpkg-cff57958e7025176ee3af5c027b417c4dcc44d80.tar.gz vcpkg-cff57958e7025176ee3af5c027b417c4dcc44d80.zip | |
[replxx] Add missing header <stdexcept> needed to name std::runtime_error for replxx. (#11571)
* [replxx] Add missing header <stdexcept> needed to name std::runtime_error for replxx.
Already applied upstream as https://github.com/BillyONeal/replxx/commit/723d9c84869511dfb5e63f5c3d3372ac38114713
* Bump version.
Diffstat (limited to 'ports/replxx/add-stdexcept.patch')
| -rw-r--r-- | ports/replxx/add-stdexcept.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ports/replxx/add-stdexcept.patch b/ports/replxx/add-stdexcept.patch new file mode 100644 index 000000000..51fe01447 --- /dev/null +++ b/ports/replxx/add-stdexcept.patch @@ -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 + + } +- |
