remove-json-ext.patch 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. diff -Naurp1 a/common.mk b/common.mk
  2. --- a/common.mk 2020-10-01 18:15:38.000000000 +0600
  3. +++ b/common.mk 2020-11-24 20:43:21.849455472 +0600
  4. @@ -1028,4 +1028,3 @@ realclean-srcs-ext::
  5. -EXTRA_SRCS = $(srcdir)/ext/json/parser/parser.c \
  6. - $(srcdir)/ext/date/zonetab.h \
  7. +EXTRA_SRCS = $(srcdir)/ext/date/zonetab.h \
  8. $(empty)
  9. @@ -1142,6 +1141,2 @@ $(srcdir)/ext/ripper/ripper.c: $(srcdir)
  10. -$(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl $(srcdir)/ext/json/parser/prereq.mk
  11. - $(ECHO) generating $@
  12. - $(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(mflags) \
  13. - Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. BASERUBY="$(BASERUBY)"
  14. diff -Naurp1 a/doc/maintainers.rdoc b/doc/maintainers.rdoc
  15. --- a/doc/maintainers.rdoc 2020-10-01 18:15:38.000000000 +0600
  16. +++ b/doc/maintainers.rdoc 2020-11-24 20:44:01.216453644 +0600
  17. @@ -312,6 +312,2 @@ Zachary Scott (zzak)
  18. https://rubygems.org/gems/io-console
  19. -[ext/json]
  20. - NARUSE, Yui (naruse), Hiroshi SHIBATA (hsbt)
  21. - https://github.com/flori/json
  22. - https://rubygems.org/gems/json
  23. [ext/openssl]
  24. diff -Naurp1 a/ext/.document b/ext/.document
  25. --- a/ext/.document 2020-10-01 18:15:38.000000000 +0600
  26. +++ b/ext/.document 2020-11-24 20:44:30.082452304 +0600
  27. @@ -29,5 +29,2 @@ io/nonblock/nonblock.c
  28. io/wait/wait.c
  29. -json/generator/generator.c
  30. -json/lib
  31. -json/parser/parser.c
  32. nkf/lib
  33. diff -Naurp1 a/ext/Setup b/ext/Setup
  34. --- a/ext/Setup 2020-10-01 18:15:38.000000000 +0600
  35. +++ b/ext/Setup 2020-11-24 20:45:09.336450482 +0600
  36. @@ -22,5 +22,2 @@
  37. #io/wait
  38. -#json
  39. -#json/generator
  40. -#json/parser
  41. #nkf
  42. diff -Naurp1 a/LEGAL b/LEGAL
  43. --- a/LEGAL 2020-10-01 18:15:38.000000000 +0600
  44. +++ b/LEGAL 2020-11-24 20:40:30.975463405 +0600
  45. @@ -659,27 +659,2 @@ ext/digest/sha2/sha2.h::
  46. -ext/json/generator/generator.c::
  47. -
  48. - The file contains the following copyright notice.
  49. -
  50. - >>>
  51. - Copyright 2001-2004 Unicode, Inc.
  52. -
  53. - Disclaimer::
  54. -
  55. - This source code is provided as is by Unicode, Inc. No claims are
  56. - made as to fitness for any particular purpose. No warranties of any
  57. - kind are expressed or implied. The recipient agrees to determine
  58. - applicability of information provided. If this file has been
  59. - purchased on magnetic or optical media from Unicode, Inc., the
  60. - sole remedy for any claim will be exchange of defective media
  61. - within 90 days of receipt.
  62. -
  63. - Limitations on Rights to Redistribute This Code::
  64. -
  65. - Unicode, Inc. hereby grants the right to freely use the information
  66. - supplied in this file in the creation of products supporting the
  67. - Unicode Standard, and to make copies of this file in any form
  68. - for internal or external distribution as long as this notice
  69. - remains attached.
  70. -
  71. ext/nkf/nkf-utf8/config.h::