[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

@@ -284,22 +284,7 @@ def main():
url = "https://github.com/protocolbuffers/protobuf"
tag = "v3.21.12"
patch_list = [
"0001-Fix-sign-compare-warnings.patch",
"0002-Remove-redundant-move.patch",
"0003-Fix-maybe-uninitialized-warnings.patch",
"0004-Fix-coded_stream-WriteRaw.patch",
"0005-Suppress-enum-enum-conversion-warning.patch",
"0006-Fix-noreturn-function-returning.patch",
"0007-Work-around-GCC-12-restrict-warning-compiler-bug.patch",
"0008-Disable-MSVC-switch-warning.patch",
"0009-Disable-unused-function-warning.patch",
"0010-Disable-pedantic-warning.patch",
"0011-Avoid-use-of-sprintf.patch",
"0012-Suppress-stringop-overflow-warning-false-positives.patch",
]
protobuf = Lib(name, url, tag, patch_list, copy_upstream_src)
protobuf = Lib(name, url, tag, copy_upstream_src)
protobuf.main()