Update winpthreads to 5.0.3 for Windows binaries
authorEric Biggers <ebiggers3@gmail.com>
Sun, 21 Jan 2018 21:47:10 +0000 (13:47 -0800)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 21 Jan 2018 21:47:10 +0000 (13:47 -0800)
tools/windeps/Makefile
tools/windeps/sha256sums

index 2c44721..2774a09 100644 (file)
@@ -11,7 +11,7 @@
 
 ARCHITECTURES          := i686 x86_64
 LIBXML2_VERSION                := 2.9.7
-WINPTHREADS_VERSION    := 4.0.4
+WINPTHREADS_VERSION    := 5.0.3
 
 LIBXML_URL             := ftp://xmlsoft.org/libxml2/libxml2-$(LIBXML2_VERSION).tar.gz
 WINPTHREADS_URL                := http://downloads.sourceforge.net/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$(WINPTHREADS_VERSION).tar.bz2
@@ -85,7 +85,9 @@ winpthreads_$(1):$(WINPTHREADS_SRCDIR)
                --prefix=$$$$PWD/../sysroot_$(1)                \
                CFLAGS=-O2;                                     \
        $(MAKE) install;                                        \
-       sed -i 's/if defined DLL_EXPORT/if 0/' ../sysroot_$(1)/include/pthread.h;
+       sed -i -e 's/if defined DLL_EXPORT/if 0/'               \
+              -e 's/pthread_getevent ()/pthread_getevent (void)/'\
+               ../sysroot_$(1)/include/pthread.h;
 
 $(1)_BUILD_TARGETS += winpthreads_$(1)
 MAKE_CLEAN_FILES += build_winpthreads_$(1)
index f74a764..5483fa8 100644 (file)
@@ -1,2 +1,2 @@
 f63c5e7d30362ed28b38bfa1ac6313f9a80230720b7fb6c80575eeab3ff5900c  libxml2-2.9.7.tar.gz
-89356a0aa8cf9f8b9dc8d92bc8dd01a131d4750c3acb30c6350a406316c42199  mingw-w64-v4.0.4.tar.bz2
+2a601db99ef579b9be69c775218ad956a24a09d7dabc9ff6c5bd60da9ccc9cb4  mingw-w64-v5.0.3.tar.bz2