Updated to 5.6-RELEASE

epel9
Ron Olson 3 years ago
parent e5f3bda049
commit afb289d68d

@ -1,16 +1,15 @@
%global toolchain clang %global toolchain clang
%global reltag 5.5.2-RELEASE %global reltag 5.6-RELEASE
Name: libdispatch Name: libdispatch
Version: 5.5.2 Version: 5.6.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: Apple's Grand Central Dispatch library Summary: Apple's Grand Central Dispatch library
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/apple/swift-corelibs-libdispatch URL: https://github.com/apple/swift-corelibs-libdispatch
Source0: https://github.com/apple/swift-corelibs-libdispatch/archive/swift-%{reltag}.tar.gz#/corelibs-libdispatch.tar.gz Source0: https://github.com/apple/swift-corelibs-libdispatch/archive/swift-%{reltag}.tar.gz#/corelibs-libdispatch.tar.gz
Patch0: unusedvariable.patch
BuildRequires: clang BuildRequires: clang
BuildRequires: libbsd-devel BuildRequires: libbsd-devel
@ -58,12 +57,11 @@ Development files for libdispatch
%prep %prep
%setup -q -n swift-corelibs-libdispatch-swift-%{reltag} %setup -q -n swift-corelibs-libdispatch-swift-%{reltag}
%patch0 -p1
%build %build
export CXX=clang++ export CXX=clang++
export CC=clang export CC=clang
%cmake -G Ninja . %cmake -G Ninja
%cmake_build %cmake_build
@ -86,15 +84,12 @@ chrpath --delete %{buildroot}%{_libdir}/libdispatch.so
%changelog %changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.5.2-2 * Tue Mar 22 2022 Ron Olson <tachoknight@gmail.com> 5.6.0-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Updated to 5.6.0-RELEASE
* Tue Dec 14 2021 Ron Olson <tachoknight@gmail.com> 5.5.2-1 * Tue Dec 14 2021 Ron Olson <tachoknight@gmail.com> 5.5.2-1
- Updated to 5.5.2-RELEASE - Updated to 5.5.2-RELEASE
* Fri Oct 29 2021 Ron Olson <tachoknight@gmail.com> 5.5.1-1 * Fri Oct 29 2021 Ron Olson <tachoknight@gmail.com> 5.5.1-1
- Updated to 5.5.1-RELEASE - Updated to 5.5.1-RELEASE
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 01 2021 Ron Olson <tachoknight@gmail.com> 5.4.1-1 * Tue Jun 01 2021 Ron Olson <tachoknight@gmail.com> 5.4.1-1
- Updated to 5.4.1-RELEASE - Updated to 5.4.1-RELEASE
* Sat May 01 2021 Ron Olson <tachoknight@gmail.com> 5.4-1 * Sat May 01 2021 Ron Olson <tachoknight@gmail.com> 5.4-1

@ -1 +1 @@
SHA512 (corelibs-libdispatch.tar.gz) = 7fbae1786cd544a104dd97e2ca951bd6149f15a77badb14671fad98420c823d986c21117003de163b06a51b1acfa2dafc4f4fa99b3dc607a0e8f0ccd4e87ed8b SHA512 (corelibs-libdispatch.tar.gz) = e449329e3ced90a0e9a98486a041e0b37c150de3ea1eebcb449271bd878a1e555298b747db7280f0918d1f8db428dc831cf8db46dd77b047bae9023820472c97

@ -1,35 +0,0 @@
diff --color -Naur swift-corelibs-libdispatch-orig/src/BlocksRuntime/runtime.c swift-corelibs-libdispatch/src/BlocksRuntime/runtime.c
--- swift-corelibs-libdispatch-orig/src/BlocksRuntime/runtime.c 2020-08-14 16:49:59.000000000 -0500
+++ swift-corelibs-libdispatch/src/BlocksRuntime/runtime.c 2021-09-17 18:40:21.684025320 -0500
@@ -479,6 +479,7 @@
return; // stack or GC or global
}
refcount = byref->flags & BLOCK_REFCOUNT_MASK;
+ (void)refcount;
os_assert(refcount);
if (latching_decr_int_should_deallocate(&byref->flags)) {
if (byref->flags & BLOCK_BYREF_HAS_COPY_DISPOSE) {
diff --color -Naur swift-corelibs-libdispatch-orig/tests/bsdtestharness.c swift-corelibs-libdispatch/tests/bsdtestharness.c
--- swift-corelibs-libdispatch-orig/tests/bsdtestharness.c 2020-08-14 16:49:59.000000000 -0500
+++ swift-corelibs-libdispatch/tests/bsdtestharness.c 2021-09-17 18:39:05.679434477 -0500
@@ -152,6 +152,7 @@
assert(pid > 0);
#if defined(__linux__)
+ (void)to;
int status;
struct rusage usage;
struct timeval tv_stop, tv_wall;
diff --color -Naur swift-corelibs-libdispatch-orig/tests/dispatch_apply.c swift-corelibs-libdispatch/tests/dispatch_apply.c
--- swift-corelibs-libdispatch-orig/tests/dispatch_apply.c 2020-08-14 16:49:59.000000000 -0500
+++ swift-corelibs-libdispatch/tests/dispatch_apply.c 2021-09-17 23:38:38.107488681 -0500
@@ -56,7 +56,8 @@
(void)ignored;
/* prevent i and j been optimized out */
volatile uint64_t i = 0, j = 0;
-
+ (void)i;
+ (void)j;
OSAtomicIncrement32(&busy_threads_started);
while(!all_done)
Loading…
Cancel
Save