mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
[wpinet] Upgrade to libuv 1.46.0 (#5446)
This commit is contained in:
@@ -13,23 +13,23 @@ from upstream_utils import (
|
||||
|
||||
|
||||
def main():
|
||||
upstream_root = clone_repo("https://github.com/libuv/libuv", "v1.44.2")
|
||||
upstream_root = clone_repo("https://github.com/libuv/libuv", "v1.46.0")
|
||||
wpilib_root = get_repo_root()
|
||||
wpinet = os.path.join(wpilib_root, "wpinet")
|
||||
|
||||
# Apply patches to upstream Git repo
|
||||
os.chdir(upstream_root)
|
||||
for f in [
|
||||
"0001-Fix-missing-casts.patch",
|
||||
"0002-Fix-warnings.patch",
|
||||
"0003-Preprocessor-cleanup.patch",
|
||||
"0004-Cleanup-problematic-language.patch",
|
||||
"0005-Use-roborio-time.patch",
|
||||
"0001-Revert-win-process-write-minidumps-when-sending-SIGQ.patch",
|
||||
"0002-Fix-missing-casts.patch",
|
||||
"0003-Fix-warnings.patch",
|
||||
"0004-Preprocessor-cleanup.patch",
|
||||
"0005-Cleanup-problematic-language.patch",
|
||||
"0006-Style-comments-cleanup.patch",
|
||||
"0007-Squelch-GCC-warnings-we-don-t-know-how-to-fix.patch",
|
||||
"0008-Fix-Win32-warning-suppression-pragma.patch",
|
||||
"0009-Avoid-unused-variable-warning-on-Mac.patch",
|
||||
"0010-Squelch-Apple-Clang-sprintf-deprecation-warning.patch",
|
||||
"0007-Fix-Win32-warning-suppression-pragma.patch",
|
||||
"0008-Use-C-atomics.patch",
|
||||
"0009-Remove-static-from-array-indices.patch",
|
||||
"0010-Remove-uv_clock_gettime-and-add-pragmas-for-missing-.patch",
|
||||
]:
|
||||
git_am(os.path.join(wpilib_root, "upstream_utils/libuv_patches", f))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user