File: 0001-Include-implicit-cstdint.patch

package info (click to toggle)
libint2 2.7.2-1.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 63,792 kB
  • sloc: ansic: 842,934; cpp: 47,847; sh: 3,139; makefile: 1,017; f90: 676; perl: 482; python: 334
file content (32 lines) | stat: -rw-r--r-- 772 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 9dcdd64c494e639c21251ae427d9839573ab64ac Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Mon, 28 Apr 2025 16:28:23 +0300
Subject: 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>
---
 src/bin/libint/memory.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/libint/memory.h b/src/bin/libint/memory.h
index b26be8c9..eedd9b9c 100644
--- a/src/bin/libint/memory.h
+++ b/src/bin/libint/memory.h
@@ -19,6 +19,8 @@
  */
 
 #include <limits.h>
+
+#include <cstdint>
 #include <list>
 #include <smart_ptr.h>
 
-- 
2.30.2