From 46bb2d7cae3d50823f4649c24659162e8dbf1416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=89=8D=E6=9D=B0?= Date: Wed, 7 May 2025 11:09:31 +0800 Subject: [PATCH] =?UTF-8?q?action=20=E5=8F=AF=E9=9D=A0=E6=80=A7=E6=95=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 周才杰 --- BUILD.gn | 6 ++++++ ...x_error_whenparses_the_value_of_5E-324_with_libc++.patch | 0 ...out-of-bounds read.patch => Fix_out-of-bounds_read.patch | 0 install.py | 4 ++-- 4 files changed, 8 insertions(+), 2 deletions(-) rename Fix error whenparses the value of 5E-324 with libc++.patch => Fix_error_whenparses_the_value_of_5E-324_with_libc++.patch (100%) mode change 100755 => 100644 rename Fix out-of-bounds read.patch => Fix_out-of-bounds_read.patch (100%) diff --git a/BUILD.gn b/BUILD.gn index f6406fa..87d400b 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -23,6 +23,12 @@ action("jsoncpp_install_action") { ] inputs = [ "//third_party/jsoncpp/jsoncpp-1.9.5.tar.gz" ] + inputs += [ + "0001-Parse-large-floats-as-infinity-1349-1353.patch", + "0001-Use-default-rather-than-hard-coded-8-for-maximum-agg.patch", + "Fix_error_whenparses_the_value_of_5E-324_with_libc++.patch", + "Fix_out-of-bounds_read.patch", + ] args = [ "--gen-dir", diff --git a/Fix error whenparses the value of 5E-324 with libc++.patch b/Fix_error_whenparses_the_value_of_5E-324_with_libc++.patch old mode 100755 new mode 100644 similarity index 100% rename from Fix error whenparses the value of 5E-324 with libc++.patch rename to Fix_error_whenparses_the_value_of_5E-324_with_libc++.patch diff --git a/Fix out-of-bounds read.patch b/Fix_out-of-bounds_read.patch similarity index 100% rename from Fix out-of-bounds read.patch rename to Fix_out-of-bounds_read.patch diff --git a/install.py b/install.py index 7127b21..9167054 100755 --- a/install.py +++ b/install.py @@ -51,10 +51,10 @@ def apply_patch(patch_file, target_dir): def do_patch(args, target_dir): patch_file = [ + "Fix_error_whenparses_the_value_of_5E-324_with_libc++.patch", "0001-Parse-large-floats-as-infinity-1349-1353.patch", - "Fix error whenparses the value of 5E-324 with libc++.patch", "0001-Use-default-rather-than-hard-coded-8-for-maximum-agg.patch", - "Fix out-of-bounds read.patch" + "Fix_out-of-bounds_read.patch" ] for patch in patch_file: -- Gitee