forked from pool/mingw32-winpthreads
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-winpthreads?expand=0&rev=24
This commit is contained in:
parent
f7852320a5
commit
5d1bbb8bc8
@ -1,16 +0,0 @@
|
||||
Index: winpthreads/src/thread.c
|
||||
===================================================================
|
||||
--- winpthreads.orig/src/thread.c
|
||||
+++ winpthreads/src/thread.c
|
||||
@@ -295,8 +295,10 @@ push_pthread_mem (_pthread_v *sv)
|
||||
memset (sv, 0, sizeof(struct _pthread_v));
|
||||
if (pthr_last == NULL)
|
||||
pthr_root = pthr_last = sv;
|
||||
- else
|
||||
+ else {
|
||||
pthr_last->next = sv;
|
||||
+ pthr_last = sv;
|
||||
+ }
|
||||
pthread_mutex_unlock (&mtx_pthr_locked);
|
||||
}
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab4facffeeff18eee30446816a53830c1795fc9db9ae4ca8ed0d3f4ffe5449fb
|
||||
size 315696
|
3
mingw-w64-winpthreads-5.0.2.tar.xz
Normal file
3
mingw-w64-winpthreads-5.0.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e4d736360c10e5e040aba74e68b6c396ab3baf8d426cb12a3fe503a36aef08bf
|
||||
size 374887
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 28 11:43:07 UTC 2017 - idonmez@suse.com
|
||||
|
||||
- Update to version 5.0.2
|
||||
* Fix some crashes in due to misaligned memory access when
|
||||
used with some SSE instructions.
|
||||
- Drop memleak.patch, fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 14 20:40:09 UTC 2017 - idonmez@suse.com
|
||||
|
||||
|
@ -17,18 +17,17 @@
|
||||
|
||||
|
||||
Name: mingw32-winpthreads
|
||||
Version: 5.0.1
|
||||
Version: 5.0.2
|
||||
Release: 0
|
||||
Summary: A pthreads implementation for Windows
|
||||
License: MIT and BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://mingw-w64.sf.net/
|
||||
|
||||
#DL-URL: http://download.sf.net/mingw-w64/mingw-w64-v5.0-rc1.tar.bz2
|
||||
#DL-URL: http://downloads.sf.net/mingw-w64/mingw-w64-v5.0-rc1.tar.bz2
|
||||
Source: mingw-w64-winpthreads-%version.tar.xz
|
||||
Source9: %name-rpmlintrc
|
||||
Patch1: memleak.patch
|
||||
Patch2: gcc7.patch
|
||||
Patch0: gcc7.patch
|
||||
BuildRequires: mingw32-cross-gcc-bootstrap
|
||||
BuildRequires: mingw32-cross-pkg-config
|
||||
BuildRequires: mingw32-filesystem
|
||||
@ -65,8 +64,7 @@ mingw-w64's implementation of POSIX threads for Windows.
|
||||
|
||||
%prep
|
||||
%setup -q -n winpthreads
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# The build is trying to link with libpthread.a but it has no need
|
||||
|
Loading…
Reference in New Issue
Block a user