summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-06-29 12:28:53 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-06-29 11:29:55 +0100
commit7d154bf80f71647727ffd07a184989083afaa0f9 (patch)
tree6aeae0cb0b7b1d3403d0398ddf13881b013f9ec5 /patches
parent4f1aef251861a7305ba54ef124b42224fd5cded9 (diff)
downloadmidipix_build-7d154bf80f71647727ffd07a184989083afaa0f9.tar.bz2
midipix_build-7d154bf80f71647727ffd07a184989083afaa0f9.tar.xz
gnutls: use writev instead of sendmsg
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/gnutls-3.6.14.local.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/gnutls-3.6.14.local.patch b/patches/gnutls-3.6.14.local.patch
new file mode 100644
index 00000000..968143cf
--- /dev/null
+++ b/patches/gnutls-3.6.14.local.patch
@@ -0,0 +1,12 @@
+diff -ru gnutls-3.6.14.orig/lib/system/sockets.c gnutls-3.6.14/lib/system/sockets.c
+--- gnutls-3.6.14.orig/lib/system/sockets.c 2020-06-01 11:48:13.000000000 +0200
++++ gnutls-3.6.14/lib/system/sockets.c 2020-06-28 22:12:02.485455741 +0200
+@@ -117,7 +117,7 @@
+ system_writev(gnutls_transport_ptr_t ptr, const giovec_t * iovec,
+ int iovec_cnt)
+ {
+- return _system_writev(ptr, iovec, iovec_cnt, 0);
++ return writev(GNUTLS_POINTER_TO_INT(ptr), (struct iovec *) iovec, iovec_cnt);
+ }
+
+ #endif