commit: 4f0c9db38bea4301a2b9628fa6b7b0740900f2a5 Author: Z. Liu <zhixu.liu <AT> gmail <DOT> com> AuthorDate: Thu May 29 04:14:23 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu May 29 16:48:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0c9db3
sys-cluster/drbd-utils: fix build with clang19 ./terminal/DisplayStyleCollection.h:14:29: error: unknown type name 'uint16_t' ... Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42317 Closes: https://github.com/gentoo/gentoo/pull/42317 Signed-off-by: Sam James <sam <AT> gentoo.org> .../drbd-utils/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 3f44567ffbd0..6ecedc0ec398 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 <[email protected]> #include <string> 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 <stdint.h> + #include <new> + #include <memory> + #include <stdexcept>
