summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-06-16 15:58:59 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-06-17 17:57:07 +0200
commit0b686f8bff9addb5b5eddabdcaa11998d954cf52 (patch)
tree6798f595ffc1e63eb64c28a10dd210e53aeaaf27 /dev-ml/core_unix
parentdev-lang/srf: treeclean (diff)
downloadgentoo-0b686f8bff9addb5b5eddabdcaa11998d954cf52.tar.gz
gentoo-0b686f8bff9addb5b5eddabdcaa11998d954cf52.tar.bz2
gentoo-0b686f8bff9addb5b5eddabdcaa11998d954cf52.zip
dev-ml/core_unix: add missing patch file
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/core_unix')
-rw-r--r--dev-ml/core_unix/files/core_unix-0.17.0-musl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-ml/core_unix/files/core_unix-0.17.0-musl.patch b/dev-ml/core_unix/files/core_unix-0.17.0-musl.patch
new file mode 100644
index 000000000000..8844eb995c88
--- /dev/null
+++ b/dev-ml/core_unix/files/core_unix-0.17.0-musl.patch
@@ -0,0 +1,12 @@
+--- a/linux_ext/src/linux_ext_stubs.c 2024-05-29 19:59:43.955479960 +0200
++++ b/linux_ext/src/linux_ext_stubs.c 2024-05-29 20:00:26.661018190 +0200
+@@ -236,7 +236,8 @@
+ int count = Int_val(v_count);
+ ssize_t ret;
+ struct iovec *iovecs = caml_stat_alloc(sizeof(struct iovec) * count);
+- struct msghdr msghdr = {NULL, 0, NULL, 0, NULL, 0, 0};
++ struct msghdr msghdr;
++ memset(&msghdr, 0, sizeof(msghdr));
+ msghdr.msg_iov = iovecs;
+ msghdr.msg_iovlen = count;
+ for (--count; count >= 0; --count) {