1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/.../libdispatch/hotfixes.patch
5 # Copyright (C) 2020 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- swift-corelibs-libdispatch-swift-4.2.2-RELEASE/src/shims/generic_unix_stubs.c.vanilla 2020-11-14 17:06:38.814641625 +0100
18 +++ swift-corelibs-libdispatch-swift-4.2.2-RELEASE/src/shims/generic_unix_stubs.c 2020-11-14 17:06:53.106641825 +0100
20 unsigned short dispatch_callout__entry_semaphore;
21 unsigned short dispatch_callout__return_semaphore;
22 unsigned short dispatch_queue__push_semaphore;
23 -void (*_dispatch_block_special_invoke)(void*);
24 -struct dispatch_queue_attr_s _dispatch_queue_attr_concurrent;
25 +//void (*_dispatch_block_special_invoke)(void*);
26 +//struct dispatch_queue_attr_s _dispatch_queue_attr_concurrent;
27 --- swift-corelibs-libdispatch-swift-4.2.2-RELEASE/src/queue.c.vanilla 2020-11-14 17:03:17.226638801 +0100
28 +++ swift-corelibs-libdispatch-swift-4.2.2-RELEASE/src/queue.c 2020-11-14 17:03:33.742639033 +0100
34 DISPATCH_ALWAYS_INLINE
38 return (pid_t)syscall(SYS_gettid);
41 #elif defined(__FreeBSD__)
42 DISPATCH_ALWAYS_INLINE