mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sci-libs/libint: gcc-15 implicit include
Bug: https://bugs.gentoo.org/939020 Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41836 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
65ea75ab7b
commit
3c7325b026
28
sci-libs/libint/files/libint-2.9.0-gcc15-include.patch
Normal file
28
sci-libs/libint/files/libint-2.9.0-gcc15-include.patch
Normal file
@@ -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 <parona@protonmail.com>
|
||||
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 <parona@protonmail.com>
|
||||
--- 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user