app-editors/imhex: fix patching

This commit is contained in:
Martin Sekera 2024-07-03 22:46:09 +02:00
parent 77b5c8ed32
commit 74e48a4c74
3 changed files with 39 additions and 4 deletions

View file

@ -21,10 +21,6 @@ IUSE="+system-llvm test lto"
RESTRICT="!test? ( test )"
PATCHES=(
# If virtual/dotnet-sdk is installed on your system, then cmake
# will use it at some point and try to access internet.
# Because it did not cause any issue, we can disable it
"${FILESDIR}/remove_dotnet.patch"
# Remove the different -Werror flags
"${FILESDIR}/remove_Werror.patch"
)
@ -83,6 +79,7 @@ src_configure() {
-D IMHEX_STRICT_WARNINGS=OFF \
-D IMHEX_ENABLE_UNIT_TESTS=$(usex test) \
-D IMHEX_ENABLE_PRECOMPILED_HEADERS=OFF \
-D IMHEX_DOTNET_SCRIPT_SUPPORT=OFF \
-D IMHEX_VERSION="${PV}" \
-D PROJECT_VERSION="${PV}" \
-D USE_SYSTEM_CAPSTONE=ON \