File: 0010-fix-missing-stdint.h.patch

package info (click to toggle)
rocr-runtime 6.4.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,704 kB
  • sloc: cpp: 126,778; ansic: 41,837; lisp: 1,225; asm: 905; sh: 452; python: 117; makefile: 59
file content (25 lines) | stat: -rw-r--r-- 773 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
From: Cordell Bloor <cgmb@debian.org>
Date: Fri, 12 Sep 2025 20:35:28 -0600
Subject: fix missing stdint.h

This file uses uint64_t but doesn't include the header that declares
that type, causing build failures with GCC 15.

Forwarded: no
Bug-Debian: https://bugs.debian.org/1097800
---
 runtime/hsa-runtime/core/inc/amd_elf_image.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/runtime/hsa-runtime/core/inc/amd_elf_image.hpp b/runtime/hsa-runtime/core/inc/amd_elf_image.hpp
index 177465c..0cb9568 100644
--- a/runtime/hsa-runtime/core/inc/amd_elf_image.hpp
+++ b/runtime/hsa-runtime/core/inc/amd_elf_image.hpp
@@ -43,6 +43,7 @@
 #ifndef AMD_ELF_IMAGE_HPP_
 #define AMD_ELF_IMAGE_HPP_
 
+#include <stdint.h>
 #include <string>
 #include <sstream>
 #include <vector>