remove-json-ext.patch 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. diff --git a/LEGAL b/LEGAL
  2. index 565c4c9..0a7cc0f 100644
  3. --- a/LEGAL
  4. +++ b/LEGAL
  5. @@ -657,31 +657,6 @@ ext/digest/sha2/sha2.h::
  6. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7. SUCH DAMAGE.
  8. -ext/json/generator/generator.c::
  9. -
  10. - The file contains the following copyright notice.
  11. -
  12. - >>>
  13. - Copyright 2001-2004 Unicode, Inc.
  14. -
  15. - Disclaimer::
  16. -
  17. - This source code is provided as is by Unicode, Inc. No claims are
  18. - made as to fitness for any particular purpose. No warranties of any
  19. - kind are expressed or implied. The recipient agrees to determine
  20. - applicability of information provided. If this file has been
  21. - purchased on magnetic or optical media from Unicode, Inc., the
  22. - sole remedy for any claim will be exchange of defective media
  23. - within 90 days of receipt.
  24. -
  25. - Limitations on Rights to Redistribute This Code::
  26. -
  27. - Unicode, Inc. hereby grants the right to freely use the information
  28. - supplied in this file in the creation of products supporting the
  29. - Unicode Standard, and to make copies of this file in any form
  30. - for internal or external distribution as long as this notice
  31. - remains attached.
  32. -
  33. ext/nkf/nkf-utf8/config.h::
  34. ext/nkf/nkf-utf8/nkf.c::
  35. ext/nkf/nkf-utf8/utf8tbl.c::
  36. diff --git a/common.mk b/common.mk
  37. index 3706aeb..9bf5627 100644
  38. --- a/common.mk
  39. +++ b/common.mk
  40. @@ -1026,8 +1026,7 @@ srcs-ext: $(EXT_SRCS)
  41. realclean-srcs-ext::
  42. $(Q)$(RM) $(EXT_SRCS)
  43. -EXTRA_SRCS = $(srcdir)/ext/json/parser/parser.c \
  44. - $(srcdir)/ext/date/zonetab.h \
  45. +EXTRA_SRCS = $(srcdir)/ext/date/zonetab.h \
  46. $(empty)
  47. srcs-extra: $(EXTRA_SRCS)
  48. @@ -1140,11 +1139,6 @@ $(srcdir)/ext/ripper/ripper.c: $(srcdir)/ext/ripper/tools/preproc.rb $(srcdir)/p
  49. Q=$(Q) ECHO=$(ECHO) RM="$(RM)" BISON=$(YACC) top_srcdir=../.. srcdir=. VPATH="$${VPATH}" \
  50. RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)"
  51. -$(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl $(srcdir)/ext/json/parser/prereq.mk
  52. - $(ECHO) generating $@
  53. - $(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(mflags) \
  54. - Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. BASERUBY="$(BASERUBY)"
  55. -
  56. $(srcdir)/ext/date/zonetab.h: $(srcdir)/ext/date/zonetab.list $(srcdir)/ext/date/prereq.mk
  57. $(ECHO) generating $@
  58. $(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(mflags) \
  59. diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc
  60. index 98de9f2..268293a 100644
  61. --- a/doc/maintainers.rdoc
  62. +++ b/doc/maintainers.rdoc
  63. @@ -310,10 +310,6 @@ Zachary Scott (zzak)
  64. Nobuyuki Nakada (nobu)
  65. https://github.com/ruby/io-console
  66. https://rubygems.org/gems/io-console
  67. -[ext/json]
  68. - NARUSE, Yui (naruse), Hiroshi SHIBATA (hsbt)
  69. - https://github.com/flori/json
  70. - https://rubygems.org/gems/json
  71. [ext/openssl]
  72. Kazuki Yamaguchi (rhe)
  73. https://github.com/ruby/openssl
  74. diff --git a/ext/.document b/ext/.document
  75. index 6a49157..97e5120 100644
  76. --- a/ext/.document
  77. +++ b/ext/.document
  78. @@ -27,9 +27,6 @@ gdbm/gdbm.c
  79. io/console/console.c
  80. io/nonblock/nonblock.c
  81. io/wait/wait.c
  82. -json/generator/generator.c
  83. -json/lib
  84. -json/parser/parser.c
  85. nkf/lib
  86. nkf/nkf.c
  87. objspace/objspace.c
  88. diff --git a/ext/Setup b/ext/Setup
  89. index ac79c86..e1b8d40 100644
  90. --- a/ext/Setup
  91. +++ b/ext/Setup
  92. @@ -20,9 +20,6 @@
  93. #io/console
  94. #io/nonblock
  95. #io/wait
  96. -#json
  97. -#json/generator
  98. -#json/parser
  99. #nkf
  100. #objspace
  101. #openssl