aws-c-io: update to 0.13.1
This commit is contained in:
committed by
مهدي شينون (Mehdi Chinoune)
parent
1856cb7c03
commit
2f5748eb35
@@ -1,21 +0,0 @@
|
||||
--- a/source/windows/iocp/socket.c
|
||||
+++ b/source/windows/iocp/socket.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <aws/io/pipe.h>
|
||||
|
||||
#include <aws/io/io.h>
|
||||
+#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
@@ -1216,8 +1217,9 @@
|
||||
return AWS_OP_SUCCESS;
|
||||
}
|
||||
|
||||
+ int win_error = ERROR_SUCCESS;
|
||||
error:
|
||||
- int win_error = GetLastError(); /* logging may reset error, so cache it */
|
||||
+ win_error = GetLastError(); /* logging may reset error, so cache it */
|
||||
AWS_LOGF_ERROR(
|
||||
AWS_LS_IO_SOCKET,
|
||||
"id=%p handle=%p: failed to connect to named pipe %s.",
|
||||
@@ -3,7 +3,7 @@
|
||||
_realname=aws-c-io
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=0.12.0
|
||||
pkgver=0.13.1
|
||||
pkgrel=1
|
||||
pkgdesc="AWS SDK module to handle all IO and TLS work for application protocols (mingw-w64)."
|
||||
arch=('any')
|
||||
@@ -17,14 +17,11 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
|
||||
"${MINGW_PACKAGE_PREFIX}-cc"
|
||||
"${MINGW_PACKAGE_PREFIX}-ninja")
|
||||
options=('strip' '!debug' 'staticlibs')
|
||||
source=("${_realname}-${pkgver}.tar.gz"::"${url}/archive/v${pkgver}.tar.gz"
|
||||
"0001-fix-building-with-clang.patch")
|
||||
sha256sums=('bb25320efb31fd8bf6a3ae1aa08b88a4ea578de4896cdbbe7954e6daf6c841cb'
|
||||
'2ec4b146d6dd7be9f88ad229be34d5d3fde5a3553b3464fbec64b514ae181ac1')
|
||||
source=("${_realname}-${pkgver}.tar.gz"::"${url}/archive/v${pkgver}.tar.gz")
|
||||
sha256sums=('9ce7480f98df3b638efc08a4b9f6c0f97a61d8b6c356ecf0184c8b0eba139608')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_realname}-${pkgver}"
|
||||
patch -p1 -i "${srcdir}/0001-fix-building-with-clang.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Reference in New Issue
Block a user