diff --git a/BUILD.gn b/BUILD.gn index f6406faff7817670d622c811ff6a49a47472afd7..87d400b3e90a0917ec6847a12f76ffd017a2974e 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 7127b21e26e872344794765ec24830b9b5ee4d18..9167054facac12bff583012cdecf588947af0f35 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: