forked from pool/mingw64-winpthreads
- 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. OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-winpthreads?expand=0&rev=21
This commit is contained in:
parent
e3d5fa4aa2
commit
412d8aa607
@ -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:49:21 UTC 2017 - idonmez@suse.com
|
Sat Jan 14 20:49:21 UTC 2017 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: mingw64-winpthreads
|
Name: mingw64-winpthreads
|
||||||
Version: 5.0.1
|
Version: 5.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A pthreads implementation for Windows
|
Summary: A pthreads implementation for Windows
|
||||||
License: MIT and BSD-3-Clause
|
License: MIT and BSD-3-Clause
|
||||||
@ -27,7 +27,6 @@ Url: http://mingw-w64.sf.net/
|
|||||||
#DL-URL: http://downloads.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
|
Source: mingw-w64-winpthreads-%version.tar.xz
|
||||||
Source9: %name-rpmlintrc
|
Source9: %name-rpmlintrc
|
||||||
Patch1: memleak.patch
|
|
||||||
BuildRequires: mingw64-cross-gcc-bootstrap
|
BuildRequires: mingw64-cross-gcc-bootstrap
|
||||||
BuildRequires: mingw64-cross-pkg-config
|
BuildRequires: mingw64-cross-pkg-config
|
||||||
BuildRequires: mingw64-filesystem
|
BuildRequires: mingw64-filesystem
|
||||||
@ -64,7 +63,6 @@ mingw-w64's implementation of POSIX threads for Windows.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n winpthreads
|
%setup -q -n winpthreads
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# The build is trying to link with libpthread.a but it has no need
|
# The build is trying to link with libpthread.a but it has no need
|
||||||
|
Loading…
Reference in New Issue
Block a user