aboutsummaryrefslogtreecommitdiff
path: root/lang/swift510/files/patch-swiftpm_Sources_Basics_Vendor_Triple.swift
diff options
context:
space:
mode:
Diffstat (limited to 'lang/swift510/files/patch-swiftpm_Sources_Basics_Vendor_Triple.swift')
-rw-r--r--lang/swift510/files/patch-swiftpm_Sources_Basics_Vendor_Triple.swift20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/swift510/files/patch-swiftpm_Sources_Basics_Vendor_Triple.swift b/lang/swift510/files/patch-swiftpm_Sources_Basics_Vendor_Triple.swift
new file mode 100644
index 000000000000..c942c03ea200
--- /dev/null
+++ b/lang/swift510/files/patch-swiftpm_Sources_Basics_Vendor_Triple.swift
@@ -0,0 +1,20 @@
+--- swiftpm/Sources/Basics/Vendor/Triple.swift.orig 2024-06-05 06:47:24 UTC
++++ swiftpm/Sources/Basics/Vendor/Triple.swift
+@@ -1089,7 +1089,7 @@ extension Triple {
+ case cloudABI = "cloudabi"
+ case darwin
+ case dragonFly = "dragonfly"
+- case freeBSD = "freebsd"
++ case freebsd
+ case fuchsia
+ case ios
+ case kfreebsd
+@@ -1137,7 +1137,7 @@ extension Triple {
+ case _ where os.hasPrefix("dragonfly"):
+ return .dragonFly
+ case _ where os.hasPrefix("freebsd"):
+- return .freeBSD
++ return .freebsd
+ case _ where os.hasPrefix("fuchsia"):
+ return .fuchsia
+ case _ where os.hasPrefix("ios"):