gentoo-ebuilds/sci-libs/libint/files/libint-2.9.0-gcc15-include.patch
Alfred Wingate 3c7325b026
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>
2025-04-29 20:07:20 +01:00

28 lines
726 B
Diff

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