summaryrefslogtreecommitdiff
path: root/libre/ruby/ruby-2.5.1-remove-json-ext.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-04-21 13:13:45 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-04-21 13:13:45 -0500
commit4d9a47a1e9e4a214057db1c34b32de1c57097071 (patch)
tree9f72f1e17172c13db5f2852e6998b98ce2e8e451 /libre/ruby/ruby-2.5.1-remove-json-ext.patch
parent6a7b6f5ed8acb69632f9479a64c56e910f4a29b7 (diff)
downloadabslibre-4d9a47a1e9e4a214057db1c34b32de1c57097071.tar.gz
abslibre-4d9a47a1e9e4a214057db1c34b32de1c57097071.tar.bz2
abslibre-4d9a47a1e9e4a214057db1c34b32de1c57097071.zip
ruby-2.5.1-1.parabola1: updating version
Diffstat (limited to 'libre/ruby/ruby-2.5.1-remove-json-ext.patch')
-rw-r--r--libre/ruby/ruby-2.5.1-remove-json-ext.patch91
1 files changed, 91 insertions, 0 deletions
diff --git a/libre/ruby/ruby-2.5.1-remove-json-ext.patch b/libre/ruby/ruby-2.5.1-remove-json-ext.patch
new file mode 100644
index 000000000..507f8283a
--- /dev/null
+++ b/libre/ruby/ruby-2.5.1-remove-json-ext.patch
@@ -0,0 +1,91 @@
+--- a/LEGAL 2017-12-22 18:08:05.000000000 -0500
++++ b/LEGAL 2018-01-07 09:52:56.660004692 -0500
+@@ -625,28 +625,6 @@
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+-ext/json/generator/generator.c:
+-
+- Copyright 2001-2004 Unicode, Inc.
+-
+- Disclaimer
+-
+- This source code is provided as is by Unicode, Inc. No claims are
+- made as to fitness for any particular purpose. No warranties of any
+- kind are expressed or implied. The recipient agrees to determine
+- applicability of information provided. If this file has been
+- purchased on magnetic or optical media from Unicode, Inc., the
+- sole remedy for any claim will be exchange of defective media
+- within 90 days of receipt.
+-
+- Limitations on Rights to Redistribute This Code
+-
+- Unicode, Inc. hereby grants the right to freely use the information
+- supplied in this file in the creation of products supporting the
+- Unicode Standard, and to make copies of this file in any form
+- for internal or external distribution as long as this notice
+- remains attached.
+-
+ ext/nkf/nkf-utf8/config.h:
+ ext/nkf/nkf-utf8/nkf.c:
+ ext/nkf/nkf-utf8/utf8tbl.c:
+--- a/common.mk 2017-12-22 18:08:05.000000000 -0500
++++ b/common.mk 2018-01-07 09:56:46.206272867 -0500
+@@ -903,8 +903,7 @@
+
+ srcs-ext: $(EXT_SRCS)
+
+-srcs-extra: $(srcdir)/ext/json/parser/parser.c \
+- $(srcdir)/ext/date/zonetab.h \
++srcs-extra: $(srcdir)/ext/date/zonetab.h \
+ $(empty)
+
+ LIB_SRCS = $(srcdir)/lib/unicode_normalize/tables.rb
+@@ -1006,11 +1005,6 @@
+ Q=$(Q) ECHO=$(ECHO) RM="$(RM)" top_srcdir=../.. srcdir=. VPATH="$${VPATH}" \
+ RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)"
+
+-$(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl
+- $(ECHO) generating $@
+- $(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(mflags) \
+- Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. BASERUBY="$(BASERUBY)"
+-
+ $(srcdir)/ext/date/zonetab.h: $(srcdir)/ext/date/zonetab.list
+ $(ECHO) generating $@
+ $(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(mflags) \
+--- a/doc/maintainers.rdoc 2017-12-22 18:08:05.000000000 -0500
++++ b/doc/maintainers.rdoc 2018-01-07 09:57:59.999596681 -0500
+@@ -253,9 +253,6 @@
+ [ext/io/console]
+ Nobuyuki Nakada (nobu)
+ https://github.com/ruby/io-console
+-[ext/json]
+- NARUSE, Yui (naruse), Hiroshi SHIBATA (hsbt)
+- https://github.com/flori/json
+ [ext/openssl]
+ Kazuki Yamaguchi (rhe)
+ https://github.com/ruby/openssl
+--- a/ext/.document 2017-09-03 08:31:34.000000000 -0500
++++ b/ext/.document 2018-01-07 09:58:54.180475610 -0500
+@@ -27,9 +27,6 @@
+ io/console/console.c
+ io/nonblock/nonblock.c
+ io/wait/wait.c
+-json/generator/generator.c
+-json/lib
+-json/parser/parser.c
+ nkf/lib
+ nkf/nkf.c
+ objspace/objspace.c
+--- a/ext/Setup 2017-04-20 03:21:24.000000000 -0500
++++ b/ext/Setup 2018-01-07 10:06:52.168822642 -0500
+@@ -20,9 +20,6 @@
+ #io/console
+ #io/nonblock
+ #io/wait
+-#json
+-#json/generator
+-#json/parser
+ #nkf
+ #objspace
+ #openssl