commit: 3c7325b0264997fd7d8123f308b2fd2bc0c7dfc3 Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Mon Apr 28 13:34:29 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Apr 29 19:07:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c7325b0
sci-libs/libint: gcc-15 implicit include Bug: https://bugs.gentoo.org/939020 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41836 Signed-off-by: Sam James <sam <AT> gentoo.org> .../libint/files/libint-2.9.0-gcc15-include.patch | 28 ++++++++++++++++++++++ sci-libs/libint/libint-2.9.0.ebuild | 6 ++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/sci-libs/libint/files/libint-2.9.0-gcc15-include.patch b/sci-libs/libint/files/libint-2.9.0-gcc15-include.patch new file mode 100644 index 000000000000..5c84991fc9d0 --- /dev/null +++ b/sci-libs/libint/files/libint-2.9.0-gcc15-include.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/939020 +https://github.com/evaleev/libint/pull/366 + +From 485aaae9e18e9ad3d0d43f20caf8f054ded9b80b Mon Sep 17 00:00:00 2001 +From: Alfred Wingate <[email protected]> +Date: Mon, 28 Apr 2025 16:28:23 +0300 +Subject: [PATCH] Include implicit cstdint + +Gcc-15 and unreleased clang-21 don't implicitly include it anymore for +intptr_t. + +https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-changes + +Bug: https://bugs.gentoo.org/939020 +Signed-off-by: Alfred Wingate <[email protected]> +--- a/src/bin/libint/memory.h ++++ b/src/bin/libint/memory.h +@@ -21,6 +21,7 @@ + #include <limits.h> + #include <smart_ptr.h> + ++#include <cstdint> + #include <list> + + #ifndef _libint2_src_bin_libint_memory_h_ +-- +2.49.0 + diff --git a/sci-libs/libint/libint-2.9.0.ebuild b/sci-libs/libint/libint-2.9.0.ebuild index 47937a070ce8..6e8b1bb03ecd 100644 --- a/sci-libs/libint/libint-2.9.0.ebuild +++ b/sci-libs/libint/libint-2.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,6 +23,10 @@ DEPEND=" ) " +PATCHES=( + "${FILESDIR}"/libint-2.9.0-gcc15-include.patch +) + src_prepare() { default eautoreconf
