From 95f54e562650032c2f9b27e9052d51de4237152f Mon Sep 17 00:00:00 2001 From: Jordan Gordeev Date: Sun, 22 Jun 2025 11:11:40 +0200 Subject: lang/swift510: New port The Swift programming language -- a modern programming language with many great features. This port includes: * the Swift compiler * the Swift standard library * various tools * the Foundation framework * the Swift Package Manager (SwiftPM) * the run-time support that you need for running compiled programs PR: 286454 Reviewed-by: kib --- lang/swift510/files/patch-swift-corelibs-libdispatch_src_io.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lang/swift510/files/patch-swift-corelibs-libdispatch_src_io.c (limited to 'lang/swift510/files/patch-swift-corelibs-libdispatch_src_io.c') diff --git a/lang/swift510/files/patch-swift-corelibs-libdispatch_src_io.c b/lang/swift510/files/patch-swift-corelibs-libdispatch_src_io.c new file mode 100644 index 000000000000..43fa0b41abdb --- /dev/null +++ b/lang/swift510/files/patch-swift-corelibs-libdispatch_src_io.c @@ -0,0 +1,11 @@ +--- swift-corelibs-libdispatch/src/io.c.orig 2023-06-15 00:55:45 UTC ++++ swift-corelibs-libdispatch/src/io.c +@@ -2280,7 +2280,7 @@ _dispatch_operation_advise(dispatch_operation_t op, si + _dispatch_operation_advise(dispatch_operation_t op, size_t chunk_size) + { + _dispatch_op_debug("advise", op); +-#if defined(_WIN32) ++#if defined(_WIN32) || defined(__FreeBSD__) + (void)op; + (void)chunk_size; + #else -- cgit v1.2.3