Skip to content

Commit

Permalink
Apply 5.9 Foundation patch to Swift 5.10 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
xtremekforever authored Mar 9, 2025
1 parent 105ec65 commit 3c7a180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fetch-sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3c7a180

Please sign in to comment.