[wpiutil] Modify fmt to not throw on write failure (#3919)

This was causing issues with tools, as the launchers would close stdout/stderr, resulting in write failures.
This commit is contained in:
Tyler Veness
2022-01-15 20:10:32 -08:00
committed by GitHub
parent 36af6d25a5
commit 63d1fb3bed
5 changed files with 49 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
import os
import shutil
from upstream_utils import setup_upstream_repo, comment_out_invalid_includes, walk_cwd_and_copy_if
from upstream_utils import setup_upstream_repo, comment_out_invalid_includes, walk_cwd_and_copy_if, apply_patches
def main():
@@ -31,6 +31,9 @@ def main():
comment_out_invalid_includes(
f, [os.path.join(wpiutil, "src/main/native/fmtlib/include")])
apply_patches(root,
["upstream_utils/fmt-dont-throw-on-write-failure.patch"])
if __name__ == "__main__":
main()