commit:     6fcbb888e8cea698945873b81d1e9f8ccf2eaea1
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Mar 17 15:35:17 2024 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sun Mar 17 15:36:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6fcbb888

app-editors/imhex: Add note as to why patch

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 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"
 )
 

Reply via email to