[DRE-commits] [ruby-gnuplot] 01/03: Add patch 0002-Use-RbConfig-instead-of-Config-for-Ruby-2.2-compatib.patch Closes: #795042
Lucas Nussbaum
lucas at moszumanska.debian.org
Mon Aug 17 18:20:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
lucas pushed a commit to branch master
in repository ruby-gnuplot.
commit 02390747769c7f4f4c714138e54702160e763bb4
Author: Lucas Nussbaum <lucas at debian.org>
Date: Mon Aug 17 20:09:50 2015 +0200
Add patch 0002-Use-RbConfig-instead-of-Config-for-Ruby-2.2-compatib.patch
Closes: #795042
---
...g-instead-of-Config-for-Ruby-2.2-compatib.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+)
diff --git a/debian/patches/0002-Use-RbConfig-instead-of-Config-for-Ruby-2.2-compatib.patch b/debian/patches/0002-Use-RbConfig-instead-of-Config-for-Ruby-2.2-compatib.patch
new file mode 100644
index 0000000..227463d
--- /dev/null
+++ b/debian/patches/0002-Use-RbConfig-instead-of-Config-for-Ruby-2.2-compatib.patch
@@ -0,0 +1,22 @@
+From: Lucas Nussbaum <lucas at debian.org>
+Date: Mon, 17 Aug 2015 20:07:17 +0200
+Subject: Use RbConfig instead of Config for Ruby 2.2 compatibillity. Closes:
+ #795042
+
+---
+ test/test_gnuplot.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/test_gnuplot.rb b/test/test_gnuplot.rb
+index 3acd2cf..d7eb2c4 100644
+--- a/test/test_gnuplot.rb
++++ b/test/test_gnuplot.rb
+@@ -94,7 +94,7 @@ end
+
+
+ require 'rbconfig'
+-CONFIG = Config::MAKEFILE_CONFIG
++CONFIG = RbConfig::MAKEFILE_CONFIG
+
+ # This attempts to test the functions that comprise the gnuplot package. Most
+ # of the bug reports that I get for this package have to do with finding the
diff --git a/debian/patches/series b/debian/patches/series
index d04b329..253b63c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-tests.patch
+0002-Use-RbConfig-instead-of-Config-for-Ruby-2.2-compatib.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gnuplot.git
More information about the Pkg-ruby-extras-commits
mailing list