* [gentoo-commits] repo/gentoo:master commit in: dev-ml/core_unix/files/
@ 2024-06-17 15:57 Alfredo Tupone
0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2024-06-17 15:57 UTC (permalink / raw
To: gentoo-commits
commit: 0b686f8bff9addb5b5eddabdcaa11998d954cf52
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 13:58:59 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 15:57:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b686f8b
dev-ml/core_unix: add missing patch file
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/core_unix/files/core_unix-0.17.0-musl.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
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) {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/core_unix/files/
@ 2024-07-29 8:52 Alfredo Tupone
0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2024-07-29 8:52 UTC (permalink / raw
To: gentoo-commits
commit: 9daab71f57a84a92e672d78101d4a796a55f8014
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 08:52:01 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 08:52:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9daab71f
dev-ml/core_unix: fix musl build
Closes: https://bugs.gentoo.org/936394
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/core_unix/files/core_unix-0.15.2-musl.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/dev-ml/core_unix/files/core_unix-0.15.2-musl.patch b/dev-ml/core_unix/files/core_unix-0.15.2-musl.patch
index fb1101426ba2..f9c3d23b3db9 100644
--- a/dev-ml/core_unix/files/core_unix-0.15.2-musl.patch
+++ b/dev-ml/core_unix/files/core_unix-0.15.2-musl.patch
@@ -9,3 +9,15 @@
ssize_t ret;
if (total_len > THREAD_IO_CUTOFF || contains_mmapped(v_iovecs, count)) {
Begin_roots1(v_iovecs);
+--- 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
+@@ -243,7 +243,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) {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-29 8:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 15:57 [gentoo-commits] repo/gentoo:master commit in: dev-ml/core_unix/files/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2024-07-29 8:52 Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox