From 92fb94d8b41fde57c90f892e2dc85cf8cf616765e30f50aa54d43cd1646ba27e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 18 Mar 2021 13:31:41 +0000 Subject: [PATCH] copy rq 879716 to win32 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-winpthreads?expand=0&rev=32 --- mingw-w64-v7.0.0.tar.bz2 | 3 --- mingw-w64-v8.0.0.tar.bz2 | 3 +++ mingw32-winpthreads.changes | 13 +++++++++++++ mingw32-winpthreads.spec | 16 +++++++--------- 4 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 mingw-w64-v7.0.0.tar.bz2 create mode 100644 mingw-w64-v8.0.0.tar.bz2 diff --git a/mingw-w64-v7.0.0.tar.bz2 b/mingw-w64-v7.0.0.tar.bz2 deleted file mode 100644 index dd894c0..0000000 --- a/mingw-w64-v7.0.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa20dfff3596f08a7f427aab74315a6cb80c2b086b4a107ed35af02f9496b628 -size 9071231 diff --git a/mingw-w64-v8.0.0.tar.bz2 b/mingw-w64-v8.0.0.tar.bz2 new file mode 100644 index 0000000..267233f --- /dev/null +++ b/mingw-w64-v8.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44c740ea6ab3924bc3aa169bad11ad3c5766c5c8459e3126d44eabb8735a5762 +size 9370799 diff --git a/mingw32-winpthreads.changes b/mingw32-winpthreads.changes index 764d937..537d5a1 100644 --- a/mingw32-winpthreads.changes +++ b/mingw32-winpthreads.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Mar 17 15:52:33 UTC 2021 - Jeff Kowalczyk + +- Update to new upstream release 8.0.0 + * Always define `__USE_MINGW_ANSI_STDIO` to zero + * Remove unused dwFlags variable in sched.c + * Don't call SetThreadContext in winstore builds + * Do not call GetHandleInformation in winstore build + * Simplify the handle validity in pthread_check() + * Always return 0 in pthread_check() if the thread ended is 0 + * Do not use the XXXExceptionHandler API in winstore builds + * Simplify the USE_VEH_FOR_MSC_SETTHREADNAME check + ------------------------------------------------------------------- Mon Nov 25 17:31:02 UTC 2019 - Ralf Habacker diff --git a/mingw32-winpthreads.spec b/mingw32-winpthreads.spec index 4bc1221..f192bec 100644 --- a/mingw32-winpthreads.spec +++ b/mingw32-winpthreads.spec @@ -1,7 +1,7 @@ # # spec file for package mingw32-winpthreads # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,10 +17,10 @@ Name: mingw32-winpthreads -Version: 7.0.0 +Version: 8.0.0 Release: 0 Summary: A pthreads implementation for Windows -License: MIT AND BSD-3-Clause +License: BSD-3-Clause AND MIT Group: Development/Libraries/C and C++ URL: http://mingw-w64.sf.net/ Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%{version}.tar.bz2 @@ -30,7 +30,6 @@ BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-filesystem BuildRequires: mingw32-runtime BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build %_mingw32_package_header_debug BuildArch: noarch #!BuildIgnore: post-build-checks @@ -52,7 +51,8 @@ Group: Development/Libraries/C and C++ Requires: mingw32-libwinpthread1 = %version Provides: mingw32-unistd-pthread-devel Obsoletes: mingw32-headers-dummy-pthread -Conflicts: mingw32-headers-dummy-pthread, otherproviders(mingw32-unistd-pthread-devel) +Conflicts: mingw32-headers-dummy-pthread +Conflicts: otherproviders(mingw32-unistd-pthread-devel) %description devel mingw-w64's implementation of POSIX threads for Windows. @@ -60,7 +60,7 @@ mingw-w64's implementation of POSIX threads for Windows. %_mingw32_debug_package %prep -%setup -q -n mingw-w64-v%{version}/mingw-w64-libraries/winpthreads +%autosetup -p1 -n mingw-w64-v%version/mingw-w64-libraries/winpthreads %build # The build is trying to link with libpthread.a but it has no need @@ -77,17 +77,15 @@ popd --enable-static \ --enable-shared \ LDFLAGS="%{_mingw32_ldflags_bootstrap}" -make %{?_smp_mflags} +%make_build %install %make_install %files -n mingw32-libwinpthread1 -%defattr(-,root,root) %_mingw32_bindir/libwinpthread-1.dll %files devel -%defattr(-,root,root) %_mingw32_includedir/ %_mingw32_libdir/