[DRE-commits] [ruby-setup] 01/05: Use RbConfig instead of obsolete Config for Ruby 2.2
zeha at debian.org
zeha at debian.org
Thu Apr 9 16:06:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository ruby-setup.
commit 3164c5df9172617fdfa44b9fb96d153044717511
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Thu Apr 9 17:58:22 2015 +0200
Use RbConfig instead of obsolete Config for Ruby 2.2
---
debian/patches/rbconfig.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/rbconfig.patch b/debian/patches/rbconfig.patch
new file mode 100644
index 0000000..fb0370f
--- /dev/null
+++ b/debian/patches/rbconfig.patch
@@ -0,0 +1,17 @@
+Description: use RbConfig instead of obsolete Config
+Author: Christian Hofstaedtler <zeha at debian.org>
+Last-Update: 2015-04-09
+
+diff --git a/setup.rb b/setup.rb
+index 424a5f3..4f1e198 100644
+--- a/setup.rb
++++ b/setup.rb
+@@ -785,7 +785,7 @@ class ToplevelInstaller
+ else
+ require 'rbconfig'
+ end
+- ::Config::CONFIG
++ ::RbConfig::CONFIG
+ end
+
+ def initialize(ardir_root, config)
diff --git a/debian/patches/series b/debian/patches/series
index fba6c9a..012491c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix-metaconfig.diff
no_makeparams.patch
+rbconfig.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-setup.git
More information about the Pkg-ruby-extras-commits
mailing list