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/mingw32-winpthreads.changes b/mingw32-winpthreads.changes index eb4d196..273f775 100644 --- a/mingw32-winpthreads.changes +++ b/mingw32-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:40:09 UTC 2017 - idonmez@suse.com diff --git a/mingw32-winpthreads.spec b/mingw32-winpthreads.spec index 4de84d3..dc910cb 100644 --- a/mingw32-winpthreads.spec +++ b/mingw32-winpthreads.spec @@ -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