Skip to content

Commit

Permalink
The patcher cannot find the files to patch. Correcting the path
Browse files Browse the repository at this point in the history
Signed-off-by: John McCrae <[email protected]>
  • Loading branch information
johnmccrae committed Mar 27, 2024
1 parent e68febb commit a7bb1a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/patches/ruby/ruby-win32_resolv.patch
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions config/software/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a7bb1a5

Please sign in to comment.