pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ruby31-base



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu May  5 10:25:06 UTC 2022

Modified Files:
        pkgsrc/lang/ruby31-base: distinfo
Added Files:
        pkgsrc/lang/ruby31-base/patches: patch-tool_runruby.rb

Log Message:
ruby31-base: Fix install on macOS arm64.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/ruby31-base/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/ruby31-base/patches/patch-tool_runruby.rb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ruby31-base/distinfo
diff -u pkgsrc/lang/ruby31-base/distinfo:1.5 pkgsrc/lang/ruby31-base/distinfo:1.6
--- pkgsrc/lang/ruby31-base/distinfo:1.5        Wed May  4 16:44:53 2022
+++ pkgsrc/lang/ruby31-base/distinfo    Thu May  5 10:25:05 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2022/05/04 16:44:53 taca Exp $
+$NetBSD: distinfo,v 1.6 2022/05/05 10:25:05 jperkin Exp $
 
 BLAKE2s (ruby-3.1.2.tar.xz) = 5384cfebbd466de36f68f554be2c045363e6c074d90a94a4c035ecaadf3c878b
 SHA512 (ruby-3.1.2.tar.xz) = 4a74e9efc6ea4b3eff4fec7534eb1fff4794d021531defc2e9937e53c6668db8ecdc0fff2bc23d5e6602d0df344a2caa85b31c5414309541e3d5313ec82b6e21
@@ -19,3 +19,4 @@ SHA1 (patch-lib_rubygems_platform.rb) = 
 SHA1 (patch-test_rubygems_test__gem.rb) = e624da5b9c49f9409160a7b0fdd2efad17986cab
 SHA1 (patch-thread__pthread.c) = 7c1231933a2d6ce9d56891ab512371841697fbca
 SHA1 (patch-tool_ifchange) = 1814cd41f0b0a93b181799cb117bd1f57068cf33
+SHA1 (patch-tool_runruby.rb) = 5dd8a3bea5e9776f7521f85955dddd2127e4c4d0

Added files:

Index: pkgsrc/lang/ruby31-base/patches/patch-tool_runruby.rb
diff -u /dev/null pkgsrc/lang/ruby31-base/patches/patch-tool_runruby.rb:1.1
--- /dev/null   Thu May  5 10:25:06 2022
+++ pkgsrc/lang/ruby31-base/patches/patch-tool_runruby.rb       Thu May  5 10:25:05 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-tool_runruby.rb,v 1.1 2022/05/05 10:25:05 jperkin Exp $
+
+Do not LD_PRELOAD on macOS, breaks chroots.
+
+--- tool/runruby.rb.orig       2022-04-12 11:11:15.000000000 +0000
++++ tool/runruby.rb
+@@ -132,7 +132,7 @@ if File.file?(libruby_so)
+       e = nil if e.empty?
+       e ||= "LD_PRELOAD" if /linux/ =~ RUBY_PLATFORM
+     end
+-    if e
++    unless /darwin/ =~ RUBY_PLATFORM
+       env[e] = [libruby_so, ENV[e]].compact.join(File::PATH_SEPARATOR)
+     end
+   end



Home | Main Index | Thread Index | Old Index