summaryrefslogtreecommitdiff
path: root/libre/ruby/0001-Prep-to-use-Parabola-s-patched-ruby-json.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/ruby/0001-Prep-to-use-Parabola-s-patched-ruby-json.patch')
-rw-r--r--libre/ruby/0001-Prep-to-use-Parabola-s-patched-ruby-json.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/libre/ruby/0001-Prep-to-use-Parabola-s-patched-ruby-json.patch b/libre/ruby/0001-Prep-to-use-Parabola-s-patched-ruby-json.patch
new file mode 100644
index 000000000..4d338dbe8
--- /dev/null
+++ b/libre/ruby/0001-Prep-to-use-Parabola-s-patched-ruby-json.patch
@@ -0,0 +1,61 @@
+From 32d1de432d60e363880b23797cd354eb789ea2e8 Mon Sep 17 00:00:00 2001
+From: "Luke T. Shumaker" <lukeshu@lukeshu.com>
+Date: Thu, 22 Feb 2024 21:55:39 -0700
+Subject: [PATCH 1/1] Prep to use Parabola's patched ruby-json
+
+---
+ LEGAL | 25 -------------------------
+ tool/sync_default_gems.rb | 1 -
+ 2 files changed, 26 deletions(-)
+
+diff --git a/LEGAL b/LEGAL
+index 2a7964e771..cde3ec3940 100644
+--- a/LEGAL
++++ b/LEGAL
+@@ -688,31 +688,6 @@ mentioned below.
+ 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/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
+index 77854a6a48..96c739c8cc 100644
+--- a/tool/sync_default_gems.rb
++++ b/tool/sync_default_gems.rb
+@@ -125,7 +125,6 @@ def sync_default_gems(gem)
+ rm_rf("test/json/lib")
+ cp_r("#{upstream}/lib", "ext/json")
+ cp_r("#{upstream}/json.gemspec", "ext/json")
+- cp_r("#{upstream}/VERSION", "ext/json")
+ rm_rf(%w[ext/json/lib/json/ext ext/json/lib/json/pure.rb ext/json/lib/json/pure])
+ `git checkout ext/json/extconf.rb ext/json/parser/prereq.mk ext/json/generator/depend ext/json/parser/depend ext/json/depend`
+ when "psych"
+--
+2.43.2
+