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 13:33:07 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-07 13:33:07 -0500
commit4cb0b9db8954305f8cd28c68107e76c1d6f71863 (patch)
treea0e1129dd83d711d16a72c99e08d5314d671cc6e /libre/ruby/json-2.1.0-libre.patch
parente45612c26658f6bd8e5653b8270061467688fe19 (diff)
downloadabslibre-4cb0b9db8954305f8cd28c68107e76c1d6f71863.tar.gz
abslibre-4cb0b9db8954305f8cd28c68107e76c1d6f71863.tar.bz2
abslibre-4cb0b9db8954305f8cd28c68107e76c1d6f71863.zip
ruby-2.5.0-1.parabola2: rebuild
Diffstat (limited to 'libre/ruby/json-2.1.0-libre.patch')
-rw-r--r--libre/ruby/json-2.1.0-libre.patch15
1 files changed, 14 insertions, 1 deletions
diff --git a/libre/ruby/json-2.1.0-libre.patch b/libre/ruby/json-2.1.0-libre.patch
index 7b188ad91..04eced89d 100644
--- a/libre/ruby/json-2.1.0-libre.patch
+++ b/libre/ruby/json-2.1.0-libre.patch
@@ -1,5 +1,18 @@
+--- a/lib/json.rb 2017-04-18 04:16:28.000000000 -0500
++++ b/lib/json.rb 2018-01-07 12:54:09.516275320 -0500
+@@ -55,9 +55,5 @@
+ module JSON
+ require 'json/version'
+
+- begin
+- require 'json/ext'
+- rescue LoadError
+- require 'json/pure'
+- end
++ require 'json/pure'
+ end
--- 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
++++ b/tests/test_helper.rb 2018-01-07 12:55:21.359687486 -0500
@@ -1,14 +1,5 @@
-case ENV['JSON']
-when 'pure'