From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1657120-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 83B60159C96 for <garchives@archives.gentoo.org>; Mon, 29 Jul 2024 08:52:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B436BE2A06; Mon, 29 Jul 2024 08:52:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FD95E2A06 for <gentoo-commits@lists.gentoo.org>; Mon, 29 Jul 2024 08:52:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D6AC340C7C for <gentoo-commits@lists.gentoo.org>; Mon, 29 Jul 2024 08:52:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E14B91DC5 for <gentoo-commits@lists.gentoo.org>; Mon, 29 Jul 2024 08:52:29 +0000 (UTC) From: "Alfredo Tupone" <tupone@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" <tupone@gentoo.org> Message-ID: <1722243121.9daab71f57a84a92e672d78101d4a796a55f8014.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/core_unix/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/core_unix/files/core_unix-0.15.2-musl.patch X-VCS-Directories: dev-ml/core_unix/files/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 9daab71f57a84a92e672d78101d4a796a55f8014 X-VCS-Branch: master Date: Mon, 29 Jul 2024 08:52:29 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 481f5f1c-dce2-4713-abba-7d6d6d27aebd X-Archives-Hash: be376f7ed42cc5c27189036a31542600 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) {