From ccaccfe4f1da8c11d9fa110f6e4eb847358769d7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Jun 2024 00:10:02 +0100 Subject: gentoo auto-resync : 18:06:2024 - 00:10:02 --- dev-ml/core_unix/files/core_unix-0.17.0-musl.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-ml/core_unix/files/core_unix-0.17.0-musl.patch (limited to 'dev-ml/core_unix/files') 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) { -- cgit v1.2.3