summaryrefslogtreecommitdiff
path: root/dev-ml/core_unix/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-18 00:10:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-18 00:10:02 +0100
commitccaccfe4f1da8c11d9fa110f6e4eb847358769d7 (patch)
treeff02c95ae3d9a1e73e2a182e268161743d81a88b /dev-ml/core_unix/files
parent74e526c590f52d24a213e25f77858ae0b34ec2c8 (diff)
gentoo auto-resync : 18:06:2024 - 00:10:02
Diffstat (limited to 'dev-ml/core_unix/files')
-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) {