From a7bb1a55f317afe8299c58de4edd7235834cd0a8 Mon Sep 17 00:00:00 2001 From: John McCrae Date: Wed, 27 Mar 2024 13:34:41 -0700 Subject: [PATCH] The patcher cannot find the files to patch. Correcting the path Signed-off-by: John McCrae --- config/patches/ruby/ruby-win32_resolv.patch | 4 ++-- config/software/ruby.rb | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/patches/ruby/ruby-win32_resolv.patch b/config/patches/ruby/ruby-win32_resolv.patch index 8f509180c..d0d98c11e 100644 --- a/config/patches/ruby/ruby-win32_resolv.patch +++ b/config/patches/ruby/ruby-win32_resolv.patch @@ -1,5 +1,5 @@ ---- ext/lib/ruby/3.0.0/win32/resolv.rb.org 2024-03-25 19:48:15 -+++ ext/lib/ruby/3.0.0/win32/resolv.rb 2024-03-25 19:49:01 +--- ext\win32\lib\win32\resolv.rb.org 2024-03-25 19:48:15 ++++ ext\win32\lib\win32\resolv.rb 2024-03-25 19:49:01 @@ -4,7 +4,7 @@ =end diff --git a/config/software/ruby.rb b/config/software/ruby.rb index c9d6f8688..ba14d96ac 100644 --- a/config/software/ruby.rb +++ b/config/software/ruby.rb @@ -163,6 +163,9 @@ # Here we patch the Ruby Win32/Reolv.rb file to make reloading the Win32::Registry class # conditional and therefore prevent the monkeypatch from being overwritten. if windows? && version.satisfies?("~> 3.0.0") + puts "************************ PATCH ENV ***************************" + puts patch_env + puts "********************** END PATCH ENV ************************" patch source: "ruby-win32_resolv.patch", plevel: 1, env: patch_env end