diff --git a/memleak.patch b/memleak.patch deleted file mode 100644 index ab88bbb..0000000 --- a/memleak.patch +++ /dev/null @@ -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); - } - diff --git a/mingw-w64-winpthreads-5.0.1.tar.xz b/mingw-w64-winpthreads-5.0.1.tar.xz deleted file mode 100644 index 97683cf..0000000 --- a/mingw-w64-winpthreads-5.0.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab4facffeeff18eee30446816a53830c1795fc9db9ae4ca8ed0d3f4ffe5449fb -size 315696 diff --git a/mingw-w64-winpthreads-5.0.2.tar.xz b/mingw-w64-winpthreads-5.0.2.tar.xz new file mode 100644 index 0000000..a310781 --- /dev/null +++ b/mingw-w64-winpthreads-5.0.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4d736360c10e5e040aba74e68b6c396ab3baf8d426cb12a3fe503a36aef08bf +size 374887 diff --git a/mingw64-winpthreads.changes b/mingw64-winpthreads.changes index 579a67b..e45ef73 100644 --- a/mingw64-winpthreads.changes +++ b/mingw64-winpthreads.changes @@ -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 diff --git a/mingw64-winpthreads.spec b/mingw64-winpthreads.spec index cf4303c..3b03a46 100644 --- a/mingw64-winpthreads.spec +++ b/mingw64-winpthreads.spec @@ -17,7 +17,7 @@ Name: mingw64-winpthreads -Version: 5.0.1 +Version: 5.0.2 Release: 0 Summary: A pthreads implementation for Windows 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 Source: mingw-w64-winpthreads-%version.tar.xz Source9: %name-rpmlintrc -Patch1: memleak.patch BuildRequires: mingw64-cross-gcc-bootstrap BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-filesystem @@ -64,7 +63,6 @@ mingw-w64's implementation of POSIX threads for Windows. %prep %setup -q -n winpthreads -%patch1 -p1 %build # The build is trying to link with libpthread.a but it has no need