From 3c7a1807ecaee7827b13a6aca03070ca6f8f6b1b Mon Sep 17 00:00:00 2001 From: "Jesse L. Zamora" Date: Sat, 8 Mar 2025 19:33:30 -0500 Subject: [PATCH] Apply 5.9 Foundation patch to Swift 5.10 as well --- fetch-sources.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fetch-sources.sh b/fetch-sources.sh index 716e3d6..bd64362 100755 --- a/fetch-sources.sh +++ b/fetch-sources.sh @@ -69,8 +69,8 @@ patch -d . -p1 <$SRC_ROOT/patches/0001-Swift-fix-find-libstdc++-for-cxx-interop. patch -d . -p1 <$SRC_ROOT/patches/0002-Add-arm-to-float16support-for-missing-symbol.patch # Only applies to Swift 5.9 -if [[ $SWIFT_VERSION == *"5.9"* ]]; then - echo "Apply Foundation strlcpy/strlcat patch for Swift 5.9" +if [[ $SWIFT_VERSION == *"5.9"* ]] || [[ $SWIFT_VERSION == *"5.10" ]]; then + echo "Apply Foundation strlcpy/strlcat patch for Swift 5.9/5.10" cd ../swift-corelibs-foundation patch -d . -p1 <$SRC_ROOT/patches/0002-Foundation-5.9-check-for-strlcpy-strlcat.patch fi