[upstream_utils] Determine patch list from patch files (#6869)

This commit is contained in:
Joseph Eng
2024-07-23 15:58:15 -07:00
committed by GitHub
parent aa44b2fd1e
commit cd39c5e2a1
21 changed files with 46 additions and 202 deletions

View File

@@ -60,17 +60,11 @@ def main():
url = "https://github.com/nlohmann/json"
tag = "v3.11.3"
patch_list = [
"0001-Remove-version-from-namespace.patch",
"0002-Make-serializer-public.patch",
"0003-Make-dump_escaped-take-std-string_view.patch",
"0004-Add-llvm-stream-support.patch",
]
patch_options = {
"use_threeway": True,
}
json = Lib(name, url, tag, patch_list, copy_upstream_src, patch_options)
json = Lib(name, url, tag, copy_upstream_src, patch_options)
json.main()