From 6fcbb888e8cea698945873b81d1e9f8ccf2eaea1 Mon Sep 17 00:00:00 2001 From: Henri Gasc Date: Sun, 17 Mar 2024 16:35:17 +0100 Subject: [PATCH] app-editors/imhex: Add note as to why patch Signed-off-by: Henri Gasc --- app-editors/imhex/files/remove_dotnet.patch | 8 +++----- app-editors/imhex/imhex-1.33.1-r2.ebuild | 3 +++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app-editors/imhex/files/remove_dotnet.patch b/app-editors/imhex/files/remove_dotnet.patch index d4c4883c0b..30ab50f642 100644 --- a/app-editors/imhex/files/remove_dotnet.patch +++ b/app-editors/imhex/files/remove_dotnet.patch @@ -1,16 +1,14 @@ diff --git a/plugins/script_loader/CMakeLists.txt b/plugins/script_loader/CMakeLists.txt -index af0f6c79..cbb323e3 100644 +index af0f6c79..cddc0e14 100644 --- a/plugins/script_loader/CMakeLists.txt +++ b/plugins/script_loader/CMakeLists.txt -@@ -46,7 +46,7 @@ if (CoreClrEmbed_FOUND) +@@ -46,7 +46,4 @@ if (CoreClrEmbed_FOUND) install(FILES ${CoreClrEmbed_SHARED_LIBRARIES} DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif () - add_subdirectory(dotnet) - add_dependencies(script_loader AssemblyLoader) -+ #add_subdirectory(dotnet) -+ #add_dependencies(script_loader AssemblyLoader) - +- -endif () \ No newline at end of file +endif () diff --git a/app-editors/imhex/imhex-1.33.1-r2.ebuild b/app-editors/imhex/imhex-1.33.1-r2.ebuild index be797d6b78..56309f1696 100644 --- a/app-editors/imhex/imhex-1.33.1-r2.ebuild +++ b/app-editors/imhex/imhex-1.33.1-r2.ebuild @@ -24,6 +24,9 @@ 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" )