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 034D715808B for ; Mon, 21 Feb 2022 16:37:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B09CE0959; Mon, 21 Feb 2022 16:37:11 +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 9AECAE0959 for ; Mon, 21 Feb 2022 16:37:10 +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 21DF9343681 for ; Mon, 21 Feb 2022 16:37:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 83E252E0 for ; Mon, 21 Feb 2022 16:37:07 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1645461396.3be10d9efadf209bd58dc917671b4584c49824a6.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gromacs/files/, sci-chemistry/gromacs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild sci-chemistry/gromacs/gromacs-2021.5.ebuild X-VCS-Directories: sci-chemistry/gromacs/files/ sci-chemistry/gromacs/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 3be10d9efadf209bd58dc917671b4584c49824a6 X-VCS-Branch: master Date: Mon, 21 Feb 2022 16:37:07 +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: 3b5f3c14-a2b6-4262-91a9-71d1f4c1dd81 X-Archives-Hash: e7c4b66ed957c4a656203a73605517e1 commit: 3be10d9efadf209bd58dc917671b4584c49824a6 Author: Alexey Shvetsov gentoo org> AuthorDate: Mon Feb 21 16:33:29 2022 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Mon Feb 21 16:36:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be10d9e sci-chemistry/gromacs: Fix build for musl Closes: https://bugs.gentoo.org/828673 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alexey Shvetsov gentoo.org> .../gromacs/files/gromacs-2021-musl-stdint.patch | 25 ++++++++++++++++++++++ sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild | 2 ++ sci-chemistry/gromacs/gromacs-2021.5.ebuild | 2 ++ 3 files changed, 29 insertions(+) diff --git a/sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch b/sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch new file mode 100644 index 000000000000..c94fc5598f91 --- /dev/null +++ b/sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch @@ -0,0 +1,25 @@ +From 8a38303c52fbca07c850e0c4cd03a783aabf9e49 Mon Sep 17 00:00:00 2001 +From: Paul Bauer +Date: Mon, 21 Feb 2022 09:53:46 +0100 +Subject: [PATCH] Fix missing includes for musl libc + +Fixes #4404 +--- + src/gromacs/math/vectypes.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/gromacs/math/vectypes.h b/src/gromacs/math/vectypes.h +index d4d5211d11..bd9d31de20 100644 +--- a/src/gromacs/math/vectypes.h ++++ b/src/gromacs/math/vectypes.h +@@ -40,6 +40,7 @@ + + #include + #include ++#include + + #include + #include +-- +2.35.1 + diff --git a/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild b/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild index 304523f0caed..9ebdeb01146c 100644 --- a/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild +++ b/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild @@ -83,6 +83,8 @@ DOCS=( AUTHORS README ) RESTRICT="!test? ( test )" +PATCHES=( "${FILESDIR}/${PN}-2021-musl-stdint.patch" ) + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/${PN}-${PV/_/-}" fi diff --git a/sci-chemistry/gromacs/gromacs-2021.5.ebuild b/sci-chemistry/gromacs/gromacs-2021.5.ebuild index d9c7e8a5269e..abf5ed8ec5ef 100644 --- a/sci-chemistry/gromacs/gromacs-2021.5.ebuild +++ b/sci-chemistry/gromacs/gromacs-2021.5.ebuild @@ -83,6 +83,8 @@ DOCS=( AUTHORS README ) RESTRICT="!test? ( test )" +PATCHES=( "${FILESDIR}/${PN}-2021-musl-stdint.patch" ) + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/${PN}-${PV/_/-}" fi