forked from pool/mingw32-winpthreads
copy rq 879716 to win32
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-winpthreads?expand=0&rev=32
This commit is contained in:
parent
b5f48795d9
commit
92fb94d8b4
@ -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
3
mingw-w64-v8.0.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44c740ea6ab3924bc3aa169bad11ad3c5766c5c8459e3126d44eabb8735a5762
|
||||
size 9370799
|
@ -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>
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user