From 4f0c9db38bea4301a2b9628fa6b7b0740900f2a5 Mon Sep 17 00:00:00 2001 From: "Z. Liu" Date: Thu, 29 May 2025 12:14:23 +0800 Subject: [PATCH] sys-cluster/drbd-utils: fix build with clang19 ./terminal/DisplayStyleCollection.h:14:29: error: unknown type name 'uint16_t' ... Signed-off-by: Z. Liu Part-of: https://github.com/gentoo/gentoo/pull/42317 Closes: https://github.com/gentoo/gentoo/pull/42317 Signed-off-by: Sam James --- .../files/drbd-utils-9.25.0-missing-stdint.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys-cluster/drbd-utils/files/drbd-utils-9.25.0-missing-stdint.patch b/sys-cluster/drbd-utils/files/drbd-utils-9.25.0-missing-stdint.patch index 3f44567ffbd0f..6ecedc0ec3981 100644 --- a/sys-cluster/drbd-utils/files/drbd-utils-9.25.0-missing-stdint.patch +++ b/sys-cluster/drbd-utils/files/drbd-utils-9.25.0-missing-stdint.patch @@ -33,3 +33,13 @@ Signed-off-by: Sam James #include class DisplayId +--- a/user/drbdmon/terminal/DisplayStyleCollection.h ++++ b/user/drbdmon/terminal/DisplayStyleCollection.h +@@ -1,6 +1,7 @@ + #ifndef DISPLAYSTYLECOLLECTION_H + #define DISPLAYSTYLECOLLECTION_H + ++#include + #include + #include + #include