summaryrefslogtreecommitdiff
path: root/misc/rubygems/patches/patch-ao
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2015-01-25 16:13:13 +0000
committertaca <taca@pkgsrc.org>2015-01-25 16:13:13 +0000
commita733bef433f3658d8510610de6c1710f467f1c53 (patch)
tree1bc3ce9bdb5dcbf6a9b9446da9d72cb7f62c9727 /misc/rubygems/patches/patch-ao
parentb29d443d04c1da351e7d743aacfd4bff3994006f (diff)
downloadpkgsrc-a733bef433f3658d8510610de6c1710f467f1c53.tar.gz
Update rubygems to 2.4.5 and make this package for ruby18 only.
Changes are too many to write here, please refer rubygem's github: https://github.com/rubygems/rubygems/blob/master/History.txt.
Diffstat (limited to 'misc/rubygems/patches/patch-ao')
-rw-r--r--misc/rubygems/patches/patch-ao10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/rubygems/patches/patch-ao b/misc/rubygems/patches/patch-ao
index f51c3eaccf6..3e166e1c3dc 100644
--- a/misc/rubygems/patches/patch-ao
+++ b/misc/rubygems/patches/patch-ao
@@ -1,14 +1,14 @@
-$NetBSD: patch-ao,v 1.5 2013/06/11 14:55:54 taca Exp $
+$NetBSD: patch-ao,v 1.6 2015/01/25 16:13:13 taca Exp $
Don't hard code config file's path for gem.
---- lib/rubygems/config_file.rb.orig 2013-02-12 20:04:55.000000000 +0000
+--- lib/rubygems/config_file.rb.orig 2014-09-04 20:56:50.000000000 +0000
+++ lib/rubygems/config_file.rb
-@@ -56,32 +56,7 @@ class Gem::ConfigFile
+@@ -57,32 +57,7 @@ class Gem::ConfigFile
# :stopdoc:
-- system_config_path =
+- SYSTEM_CONFIG_PATH =
- begin
- require "etc"
- Etc.sysconfdir
@@ -34,7 +34,7 @@ Don't hard code config file's path for gem.
- RbConfig::CONFIG["sysconfdir"] || "/etc"
- end
- end
-+ system_config_path = '@PKG_SYSCONFDIR@'
++ SYSTEM_CONFIG_PATH = '@PKG_SYSCONFDIR@'
# :startdoc: