From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 56499158088 for ; Thu, 3 Feb 2022 04:25:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FD0C2BC008; Thu, 3 Feb 2022 04:25:25 +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 E45AC2BC004 for ; Thu, 3 Feb 2022 04:25:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D14EA342FA1 for ; Thu, 3 Feb 2022 04:25:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1FA7A2AF for ; Thu, 3 Feb 2022 04:25:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1643862287.3414b1d35d6862ed5a5ad5251a60bc18b2e2be71.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/boost/boost-1.78.0-r2.ebuild dev-libs/boost/files/boost-1.78.0-interprocess-musl-include.patch X-VCS-Directories: dev-libs/boost/files/ dev-libs/boost/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3414b1d35d6862ed5a5ad5251a60bc18b2e2be71 X-VCS-Branch: master Date: Thu, 3 Feb 2022 04:25:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5074c44a-96c7-4413-ada2-f206feab2582 X-Archives-Hash: 4ff9f6f7d475677ed458bbaa832dc3c1 commit: 3414b1d35d6862ed5a5ad5251a60bc18b2e2be71 Author: Sam James gentoo org> AuthorDate: Thu Feb 3 04:24:47 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 3 04:24:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3414b1d3 dev-libs/boost: fix musl build for 1.78 Closes: https://bugs.gentoo.org/829147 Signed-off-by: Sam James gentoo.org> dev-libs/boost/boost-1.78.0-r2.ebuild | 2 ++ .../boost-1.78.0-interprocess-musl-include.patch | 25 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild b/dev-libs/boost/boost-1.78.0-r2.ebuild index a67156cf87e9..53fbaeeddd56 100644 --- a/dev-libs/boost/boost-1.78.0-r2.ebuild +++ b/dev-libs/boost/boost-1.78.0-r2.ebuild @@ -53,6 +53,8 @@ PATCHES=( # Boost.MPI's __init__.py doesn't work on Py3 "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch "${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch + + "${FILESDIR}"/${P}-interprocess-musl-include.patch ) python_bindings_needed() { diff --git a/dev-libs/boost/files/boost-1.78.0-interprocess-musl-include.patch b/dev-libs/boost/files/boost-1.78.0-interprocess-musl-include.patch new file mode 100644 index 000000000000..85d25861f11b --- /dev/null +++ b/dev-libs/boost/files/boost-1.78.0-interprocess-musl-include.patch @@ -0,0 +1,25 @@ +https://github.com/boostorg/interprocess/commit/d002a0d929ecb031843d806c2bda69e013442e13 +https://bugs.gentoo.org/829147 + +From: Leonardo Neumann +Date: Mon, 13 Dec 2021 01:07:20 -0300 +Subject: [PATCH] Fix missing sys/stat.h include on musl-based systems + +Boost 1.78.0 fails to build on musl-based systems because musl does +not include sys/stat.h by default. + +Fixes #161 ("Boost compiler error") +--- a/boost/interprocess/permissions.hpp ++++ b/boost/interprocess/permissions.hpp +@@ -29,6 +29,10 @@ + + #include + ++#else ++ ++#include ++ + #endif + + #endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED +