4
0

Accepting request 879902 from windows:mingw:win64

- Update to new upstream release 8.0.0

OBS-URL: https://build.opensuse.org/request/show/879902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mingw64-winpthreads?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-03-18 21:55:27 +00:00 committed by Git OBS Bridge
commit 9199b1fc27
4 changed files with 23 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa20dfff3596f08a7f427aab74315a6cb80c2b086b4a107ed35af02f9496b628
size 9071231

3
mingw-w64-v8.0.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44c740ea6ab3924bc3aa169bad11ad3c5766c5c8459e3126d44eabb8735a5762
size 9370799

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Mar 17 15:52:33 UTC 2021 - Jeff Kowalczyk <jkowalczyk@suse.com>
- 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 <ralf.habacker@freenet.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package mingw64-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: mingw64-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: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
BuildRequires: mingw64-runtime
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%_mingw64_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
@ -52,7 +51,8 @@ Group: Development/Libraries/C and C++
Requires: mingw64-libwinpthread1 = %version
Provides: mingw64-unistd-pthread-devel
Obsoletes: mingw64-headers-dummy-pthread
Conflicts: mingw64-headers-dummy-pthread, otherproviders(mingw64-unistd-pthread-devel)
Conflicts: mingw64-headers-dummy-pthread
Conflicts: otherproviders(mingw64-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.
%_mingw64_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
@ -78,17 +78,15 @@ popd
--enable-static \
--enable-shared \
LDFLAGS="%{_mingw64_ldflags_bootstrap}"
make %{?_smp_mflags}
%make_build
%install
%make_install
%files -n mingw64-libwinpthread1
%defattr(-,root,root)
%_mingw64_bindir/libwinpthread-1.dll
%files devel
%defattr(-,root,root)
%_mingw64_includedir/
%_mingw64_libdir/