summaryrefslogtreecommitdiffhomepage
path: root/patches/gnutls-3.7.2.local.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2021-06-17 14:12:51 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-06-17 14:16:23 +0200
commit3c9731046b24ffad3c72061a31ecee227ea335eb (patch)
tree81c37fa55fab40058bde2297f777dd3a43bf80db /patches/gnutls-3.7.2.local.patch
parent18ee1878570a3199033fb60a0dd0935060f1958b (diff)
downloadmidipix_build-3c9731046b24ffad3c72061a31ecee227ea335eb.tar.bz2
midipix_build-3c9731046b24ffad3c72061a31ecee227ea335eb.tar.xz
groups/241.native_packages_inet.group: gnutls: bump to v3.7.2
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches/gnutls-3.7.2.local.patch')
-rw-r--r--patches/gnutls-3.7.2.local.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/gnutls-3.7.2.local.patch b/patches/gnutls-3.7.2.local.patch
new file mode 100644
index 00000000..968143cf
--- /dev/null
+++ b/patches/gnutls-3.7.2.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