summaryrefslogtreecommitdiff
path: root/libre/ruby/json-2.1.0-libre.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-07 12:47:10 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-07 12:47:10 -0500
commite45612c26658f6bd8e5653b8270061467688fe19 (patch)
tree66554665c871c8c7162e99ad6c3e1cc4fb240bd9 /libre/ruby/json-2.1.0-libre.patch
parent914b793ddce20dc1291480c17ee0aeada5bf43ab (diff)
downloadabslibre-e45612c26658f6bd8e5653b8270061467688fe19.tar.gz
abslibre-e45612c26658f6bd8e5653b8270061467688fe19.tar.bz2
abslibre-e45612c26658f6bd8e5653b8270061467688fe19.zip
ruby-2.5.0-1.parabola1: udpating version
Diffstat (limited to 'libre/ruby/json-2.1.0-libre.patch')
-rw-r--r--libre/ruby/json-2.1.0-libre.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/libre/ruby/json-2.1.0-libre.patch b/libre/ruby/json-2.1.0-libre.patch
new file mode 100644
index 000000000..7b188ad91
--- /dev/null
+++ b/libre/ruby/json-2.1.0-libre.patch
@@ -0,0 +1,19 @@
+--- a/tests/test_helper.rb 2017-04-18 04:16:28.000000000 -0500
++++ b/tests/test_helper.rb 2018-01-07 10:52:13.466053202 -0500
+@@ -1,14 +1,5 @@
+-case ENV['JSON']
+-when 'pure'
+- $:.unshift 'lib'
+- require 'json/pure'
+-when 'ext'
+- $:.unshift 'ext', 'lib'
+- require 'json/ext'
+-else
+- $:.unshift 'ext', 'lib'
+- require 'json'
+-end
++$:.unshift 'lib'
++require 'json'
+
+ require 'test/unit'
+ begin