Blame patches/gnutls-3.8.0.local.patch

7d154b
diff -ru gnutls-3.6.14.orig/lib/system/sockets.c gnutls-3.6.14/lib/system/sockets.c
7d154b
--- gnutls-3.6.14.orig/lib/system/sockets.c	2020-06-01 11:48:13.000000000 +0200
7d154b
+++ gnutls-3.6.14/lib/system/sockets.c	2020-06-28 22:12:02.485455741 +0200
7d154b
@@ -117,7 +117,7 @@
7d154b
 system_writev(gnutls_transport_ptr_t ptr, const giovec_t * iovec,
7d154b
 	      int iovec_cnt)
7d154b
 {
7d154b
-	return _system_writev(ptr, iovec, iovec_cnt, 0);
7d154b
+	return writev(GNUTLS_POINTER_TO_INT(ptr), (struct iovec *) iovec, iovec_cnt);
7d154b
 }
7d154b
 
7d154b
 #endif