Add patch for correct behavior on ruby 2.2, no change for current version.

This commit is contained in:
jeremy 2015-07-16 15:49:03 +00:00
parent 14a98f3985
commit 71a0cb46b1

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-setup_rb,v 1.1 2015/07/16 15:49:03 jeremy Exp $
Fix use of deprecated ::Config.
--- setup.rb.orig Thu Jul 16 08:44:10 2015
+++ setup.rb Thu Jul 16 08:44:34 2015
@@ -256,7 +256,7 @@ class ConfigTable_class
end
-c = ::Config::CONFIG
+c = ::RbConfig::CONFIG
rubypath = c['bindir'] + '/' + c['ruby_install_name']