Update libuv to 1.22.0 (#4084)

This commit is contained in:
OTLabs
2018-07-16 00:19:39 -05:00
committed by Алексей
parent 8993f4758d
commit edf6dd9629
2 changed files with 3 additions and 19 deletions

View File

@@ -4,7 +4,7 @@
_realname=libuv
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.21.0
pkgver=1.22.0
pkgrel=1
pkgdesc="Cross-platform asychronous I/O (mingw-w64)"
arch=('any')
@@ -13,16 +13,12 @@ license=("custom")
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc")
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
options=('staticlibs' 'strip')
source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/libuv/libuv/archive/v${pkgver}.tar.gz"
"fix-threads.patch")
sha256sums=('c6f53e4a75d2601db8efe0e837839969de7667d36569110429a0bc8f8229bf59'
'b7724d2a24b400e2b4609f7ca8f82c516492c5c6fa1711a647c4a70ba847cd30')
source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/libuv/libuv/archive/v${pkgver}.tar.gz")
sha256sums=('c72f0401e1298f948daf310abafce38373a926fb9438464d1bf7fe90784544e0')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -Np1 -i "${srcdir}/fix-threads.patch"
./autogen.sh
}

View File

@@ -1,12 +0,0 @@
diff -Naur libuv-1.21.0.orig/src/win/thread.c libuv-1.21.0/src/win/thread.c
--- libuv-1.21.0.orig/src/win/thread.c 2018-06-23 12:52:02.302979500 -0400
+++ libuv-1.21.0/src/win/thread.c 2018-06-23 16:05:58.224089200 -0400
@@ -373,8 +373,6 @@
void uv_cond_destroy(uv_cond_t* cond) {
- /* nothing to do */
- UV__UNUSED(cond);
}