File: 0002-Use-RbConfig-instead-of-Config-for-Ruby-2.2-compatib.patch

package info (click to toggle)
ruby-gnuplot 2.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 216 kB
  • ctags: 64
  • sloc: ruby: 456; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 663 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Lucas Nussbaum <lucas@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