summaryrefslogtreecommitdiff
path: root/libre/ruby/remove-json-ext.patch
blob: 6c115addd5a31ca322dfef372e07160bb37ddcb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
diff --git a/LEGAL b/LEGAL
index 565c4c9..0a7cc0f 100644
--- a/LEGAL
+++ b/LEGAL
@@ -688,31 +688,6 @@
     OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     SUCH DAMAGE.
 
-[ext/json/generator/generator.c]
-
-  The file contains the following copyright notice.
-
-  >>>
-    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]
diff --git a/common.mk b/common.mk
index 3706aeb..9bf5627 100644
--- a/common.mk
+++ b/common.mk
@@ -1051,8 +1051,7 @@
 realclean-srcs-ext::
 	$(Q)$(RM) $(EXT_SRCS)
 
-EXTRA_SRCS = $(srcdir)/ext/json/parser/parser.c \
-	     $(srcdir)/ext/date/zonetab.h \
+EXTRA_SRCS = $(srcdir)/ext/date/zonetab.h \
 	     $(empty)
 
 srcs-extra: $(EXTRA_SRCS)
@@ -1166,11 +1165,6 @@
 		Q=$(Q) ECHO=$(ECHO) RM="$(RM)" BISON=$(YACC) top_srcdir=../.. srcdir=. VPATH="$${VPATH}" \
 		RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)" LANG=C
 
-$(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl $(srcdir)/ext/json/parser/prereq.mk
-	$(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 $(srcdir)/ext/date/prereq.mk
 	$(ECHO) generating $@
 	$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(mflags) \
diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc
index 98de9f2..268293a 100644
--- a/doc/maintainers.rdoc
+++ b/doc/maintainers.rdoc
@@ -348,10 +348,6 @@
   Nobuyuki Nakada (nobu)
   https://github.com/ruby/io-wait
   https://rubygems.org/gems/io-wait
-[ext/json]
-  NARUSE, Yui (naruse), Hiroshi SHIBATA (hsbt)
-  https://github.com/flori/json
-  https://rubygems.org/gems/json
 [ext/nkf]
   NARUSE, Yui (naruse)
   https://github.com/ruby/nkf
diff --git a/ext/.document b/ext/.document
index 6a49157..97e5120 100644
--- a/ext/.document
+++ b/ext/.document
@@ -36,9 +36,6 @@
 io/console/lib
 io/nonblock/nonblock.c
 io/wait/wait.c
-json/generator/generator.c
-json/lib
-json/parser/parser.c
 monitor/lib
 monitor/monitor.c
 nkf/lib
diff --git a/ext/Setup b/ext/Setup
index ac79c86..e1b8d40 100644
--- a/ext/Setup
+++ b/ext/Setup
@@ -20,9 +20,6 @@
 #io/console
 #io/nonblock
 #io/wait
-#json
-#json/generator
-#json/parser
 #nkf
 #objspace
 #openssl