SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
32
devel/libdispatch/patches/patch-src_swift_Wrapper_swift
Normal file
32
devel/libdispatch/patches/patch-src_swift_Wrapper_swift
Normal file
|
@ -0,0 +1,32 @@
|
|||
backport of https://github.com/apple/swift-corelibs-libdispatch/pull/559
|
||||
|
||||
Index: src/swift/Wrapper.swift
|
||||
--- src/swift/Wrapper.swift.orig
|
||||
+++ src/swift/Wrapper.swift
|
||||
@@ -181,7 +181,7 @@ extension DispatchSource : DispatchSourceMachSend,
|
||||
}
|
||||
#endif
|
||||
|
||||
-#if !os(Linux) && !os(Android) && !os(Windows)
|
||||
+#if !os(Linux) && !os(Android) && !os(Windows) && !os(OpenBSD)
|
||||
extension DispatchSource : DispatchSourceProcess,
|
||||
DispatchSourceFileSystemObject {
|
||||
}
|
||||
@@ -272,7 +272,7 @@ public protocol DispatchSourceMemoryPressure : Dispatc
|
||||
}
|
||||
#endif
|
||||
|
||||
-#if !os(Linux) && !os(Android) && !os(Windows)
|
||||
+#if !os(Linux) && !os(Android) && !os(Windows) && !os(OpenBSD)
|
||||
public protocol DispatchSourceProcess : DispatchSourceProtocol {
|
||||
var handle: pid_t { get }
|
||||
|
||||
@@ -302,7 +302,7 @@ public protocol DispatchSourceTimer : DispatchSourcePr
|
||||
func scheduleRepeating(wallDeadline: DispatchWallTime, interval: Double, leeway: DispatchTimeInterval)
|
||||
}
|
||||
|
||||
-#if !os(Linux) && !os(Android) && !os(Windows)
|
||||
+#if !os(Linux) && !os(Android) && !os(Windows) && !os(OpenBSD)
|
||||
public protocol DispatchSourceFileSystemObject : DispatchSourceProtocol {
|
||||
var handle: Int32 { get }
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue