Description: Fix FTBFS with newer C++ toolchains
 The package fails to compile on Ubuntu Questing with "undefined type"
 errors for standard integer types like `uintptr_t` and `uint32_t`.
 .
 This occurs because newer compilers are stricter and no longer guarantee
 that the `<cstdint>` header is included transitively by other standard
 library headers.
 .
 This patch resolves the build failure by explicitly adding the necessary
 `#include <cstdint>` directive to the file where these types are used.
Bug-Debian: https://bugs.debian.org/1114045
Author: Igor Luppi <igor.luppi@canonical.com>
Last-Update: 2025-09-05
---
Index: amdsmi/rocm_smi/include/rocm_smi/rocm_smi_common.h
===================================================================
--- amdsmi.orig/rocm_smi/include/rocm_smi/rocm_smi_common.h
+++ amdsmi/rocm_smi/include/rocm_smi/rocm_smi_common.h
@@ -29,6 +29,8 @@
 #include <string>
 #include <unordered_set>

+#include <cstdint>
+
 #define CHECK_DV_IND_RANGE \
     amd::smi::RocmSMI& smi = amd::smi::RocmSMI::getInstance(); \
     if (dv_ind >= smi.devices().size()) { \
