From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libcifpp/, sci-libs/libcifpp/files/
Date: Tue, 25 Apr 2023 13:14:00 +0000 (UTC) [thread overview]
Message-ID: <1682428321.21fed73301f33176d1986aed3b31e2751f119dc9.pacho@gentoo> (raw)
commit: 21fed73301f33176d1986aed3b31e2751f119dc9
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 13:12:01 2023 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 13:12:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21fed733
sci-libs/libcifpp: Fix build with gcc-13
Closes: https://bugs.gentoo.org/897978
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
.../files/libcifpp-5.0.8-missing-include.patch | 21 +++++++++++++++++++++
sci-libs/libcifpp/libcifpp-5.0.8.ebuild | 5 +++++
2 files changed, 26 insertions(+)
diff --git a/sci-libs/libcifpp/files/libcifpp-5.0.8-missing-include.patch b/sci-libs/libcifpp/files/libcifpp-5.0.8-missing-include.patch
new file mode 100644
index 000000000000..26735e003f4d
--- /dev/null
+++ b/sci-libs/libcifpp/files/libcifpp-5.0.8-missing-include.patch
@@ -0,0 +1,21 @@
+From 0f03fc31e058da4b66f16a67e7674fba1b85ca80 Mon Sep 17 00:00:00 2001
+From: "Maarten L. Hekkelman" <maarten@hekkelman.com>
+Date: Wed, 19 Apr 2023 09:22:32 +0200
+Subject: [PATCH] added required include
+
+---
+ include/cif++/text.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/cif++/text.hpp b/include/cif++/text.hpp
+index 9da9ab9..00f33c1 100644
+--- a/include/cif++/text.hpp
++++ b/include/cif++/text.hpp
+@@ -30,6 +30,7 @@
+
+ #include <charconv>
+ #include <cmath>
++#include <cstdint>
+ #include <limits>
+ #include <set>
+ #include <sstream>
diff --git a/sci-libs/libcifpp/libcifpp-5.0.8.ebuild b/sci-libs/libcifpp/libcifpp-5.0.8.ebuild
index 856007e7bd81..b468bb36559f 100644
--- a/sci-libs/libcifpp/libcifpp-5.0.8.ebuild
+++ b/sci-libs/libcifpp/libcifpp-5.0.8.ebuild
@@ -22,6 +22,11 @@ RESTRICT="!test? ( test )"
DEPEND="dev-libs/boost:="
RDEPEND="${DEPEND}"
+PATCHES=(
+ # https://github.com/PDB-REDO/libcifpp/issues/40
+ "${FILESDIR}/${P}-missing-include.patch"
+)
+
src_configure() {
cp "${WORKDIR}"/${P}-components.cif data/components.cif || die
next reply other threads:[~2023-04-25 13:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-25 13:14 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-02 12:01 [gentoo-commits] repo/gentoo:master commit in: sci-libs/libcifpp/, sci-libs/libcifpp/files/ Pacho Ramos
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=1682428321.21fed73301f33176d1986aed3b31e2751f119dc9.pacho@gentoo \
--to=pacho@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