Skip to content

Commit

Permalink
[unicorn-lib] Fix missing headers (#32002)
Browse files Browse the repository at this point in the history
Necessary to compile on Ubuntu 22.04, submitted upstream as CaptainCrowbar/unicorn-lib#10
  • Loading branch information
BillyONeal authored Jun 14, 2023
1 parent 5e77bc0 commit 75ea1b4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
12 changes: 12 additions & 0 deletions ports/unicorn-lib/fix-missing-headers.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/unicorn/utility.hpp b/unicorn/utility.hpp
index e6a57b7..a2afa58 100644
--- a/unicorn/utility.hpp
+++ b/unicorn/utility.hpp
@@ -54,6 +54,7 @@
#include <istream>
#include <iterator>
#include <limits>
+#include <memory>
#include <mutex>
#include <new>
#include <optional>
2 changes: 2 additions & 0 deletions ports/unicorn-lib/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ vcpkg_from_github(
REF 44e975ffc8dcd8dedbe01a8cbe7812e351f3f74f # 2021-10-28
SHA512 b22264420174c950ca8025e861366118d79a53edce9297d84af9511e255af5971c3719f0b464f4a4886848edea7c2ba4ae32ce9abab135628d64adbde5fa7b0d
HEAD_REF master
PATCHES
fix-missing-headers.patch # https://github.com/CaptainCrowbar/unicorn-lib/pull/10
)

file(COPY "${CURRENT_PORT_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
Expand Down
2 changes: 1 addition & 1 deletion ports/unicorn-lib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "unicorn-lib",
"version-date": "2022-01-24",
"port-version": 1,
"port-version": 2,
"description": "Unicode library for C++ by Ross Smith",
"homepage": "https://github.com/CaptainCrowbar/unicorn-lib",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -8246,7 +8246,7 @@
},
"unicorn-lib": {
"baseline": "2022-01-24",
"port-version": 1
"port-version": 2
},
"units": {
"baseline": "2.3.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/u-/unicorn-lib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7a392f38ad3deeac937482462e7253e332e4a672",
"version-date": "2022-01-24",
"port-version": 2
},
{
"git-tree": "20329e00e75f4f13bb1b77f3e19c23182861c6cd",
"version-date": "2022-01-24",
Expand Down

0 comments on commit 75ea1b4

Please sign in to comment.