public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gromacs/, sci-chemistry/gromacs/files/
Date: Mon, 21 Feb 2022 16:20:05 +0000 (UTC)	[thread overview]
Message-ID: <1645460400.e62617ffb1b60e2a916b7a92659df2606374d62a.alexxy@gentoo> (raw)

commit:     e62617ffb1b60e2a916b7a92659df2606374d62a
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 21 16:19:40 2022 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 16:20:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e62617ff

sci-chemistry/gromacs: Fix musl build (missing int64_t) for 2022

Closes: https://bugs.gentoo.org/833599
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 .../gromacs/files/gromacs-2022-musl-stdint.patch   | 25 ++++++++++++++++++++++
 ...22_rc1-r1.ebuild => gromacs-2022_rc1-r2.ebuild} |  2 ++
 2 files changed, 27 insertions(+)

diff --git a/sci-chemistry/gromacs/files/gromacs-2022-musl-stdint.patch b/sci-chemistry/gromacs/files/gromacs-2022-musl-stdint.patch
new file mode 100644
index 000000000000..cae6fff93ae3
--- /dev/null
+++ b/sci-chemistry/gromacs/files/gromacs-2022-musl-stdint.patch
@@ -0,0 +1,25 @@
+From 694994a9d8ad989e7c5d61b7759024a7b10ce3b7 Mon Sep 17 00:00:00 2001
+From: Paul Bauer <paul.bauer.q@gmail.com>
+Date: Mon, 21 Feb 2022 09:53:46 +0100
+Subject: [PATCH 1/6] Fix missing includes for musl libc
+
+Fixes #4404
+---
+ api/legacy/include/gromacs/math/vectypes.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/api/legacy/include/gromacs/math/vectypes.h b/api/legacy/include/gromacs/math/vectypes.h
+index b818f5f8f8..7c5457e05d 100644
+--- a/api/legacy/include/gromacs/math/vectypes.h
++++ b/api/legacy/include/gromacs/math/vectypes.h
+@@ -36,6 +36,7 @@
+ 
+ #include <cassert>
+ #include <cmath>
++#include <cstdint>
+ 
+ #include <algorithm>
+ #include <type_traits>
+-- 
+2.35.1
+

diff --git a/sci-chemistry/gromacs/gromacs-2022_rc1-r1.ebuild b/sci-chemistry/gromacs/gromacs-2022_rc1-r2.ebuild
similarity index 99%
rename from sci-chemistry/gromacs/gromacs-2022_rc1-r1.ebuild
rename to sci-chemistry/gromacs/gromacs-2022_rc1-r2.ebuild
index f12ac52a719f..b0d42eda5cb0 100644
--- a/sci-chemistry/gromacs/gromacs-2022_rc1-r1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2022_rc1-r2.ebuild
@@ -82,6 +82,8 @@ DOCS=( AUTHORS README )
 
 RESTRICT="!test? ( test )"
 
+PATCHES=( "${FILESDIR}/${PN}-2022-musl-stdint.patch" )
+
 if [[ ${PV} != *9999 ]]; then
 	S="${WORKDIR}/${PN}-${PV/_/-}"
 fi


             reply	other threads:[~2022-02-21 16:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-21 16:20 Alexey Shvetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-26 20:00 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gromacs/, sci-chemistry/gromacs/files/ Andreas Sturmlechner
2022-02-22 20:58 Alexey Shvetsov
2021-11-07 20:12 Christoph Junghans
2019-10-24  9:36 Alexey Shvetsov
2017-12-12 20:50 Alexey Shvetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1645460400.e62617ffb1b60e2a916b7a92659df2606374d62a.alexxy@gentoo \
    --to=alexxy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox