diff options
author | KokaKiwi | 2022-01-31 19:36:29 +0100 |
---|---|---|
committer | KokaKiwi | 2022-01-31 19:36:29 +0100 |
commit | 369101ce4f6a5df589fdf55f5c5d4dbd7fc10a6b (patch) | |
tree | 528625d20ff97e181d0ec8fa69752bb5e15eedc3 /0003-Fix-capstone-include-path.patch | |
parent | 4c0ee7a20f4574db4bf1d5d733b37770ba098275 (diff) | |
download | aur-369101ce4f6a5df589fdf55f5c5d4dbd7fc10a6b.tar.gz |
Update: 1.14.0
Diffstat (limited to '0003-Fix-capstone-include-path.patch')
-rw-r--r-- | 0003-Fix-capstone-include-path.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/0003-Fix-capstone-include-path.patch b/0003-Fix-capstone-include-path.patch new file mode 100644 index 000000000000..75adc50e8c8a --- /dev/null +++ b/0003-Fix-capstone-include-path.patch @@ -0,0 +1,29 @@ +From 8288cead3dc58ee1f6614f2ac4e37691b6bee23d Mon Sep 17 00:00:00 2001 +From: KokaKiwi <kokakiwi+git@kokakiwi.net> +Date: Mon, 31 Jan 2022 16:31:07 +0100 +Subject: [PATCH 3/3] Fix capstone include path. + +--- + lib/libimhex/include/hex/helpers/disassembler.hpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/lib/libimhex/include/hex/helpers/disassembler.hpp b/lib/libimhex/include/hex/helpers/disassembler.hpp +index 28168f6..dd6900b 100644 +--- a/lib/libimhex/include/hex/helpers/disassembler.hpp ++++ b/lib/libimhex/include/hex/helpers/disassembler.hpp +@@ -1,9 +1,9 @@ + #pragma once + +-#if __has_include(<capstone/capstone.h>) +- #include <capstone/capstone.h> +-#else ++#if __has_include(<capstone.h>) + #include <capstone.h> ++#else ++ #include <capstone/capstone.h> + #endif + #include <hex.hpp> + +-- +2.35.1 + |