gentoo-ebuilds/sys-block/smp_utils/files/smp_utils-0.99-stdint.patch
David Seifert a1a95bc603
sys-block/smp_utils: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/715840
Signed-off-by: David Seifert <soap@gentoo.org>
2025-05-04 23:02:15 +02:00

22 lines
510 B
Diff

Use C99/stdint.h types over non-portable (deprecated) glibc types
Bug: https://bugs.gentoo.org/715840
--- a/lib/mpi_type.h
+++ b/lib/mpi_type.h
@@ -26,6 +26,7 @@
#ifndef MPI_TYPE_H
#define MPI_TYPE_H
+#include <stdint.h>
/*******************************************************************************
* Define MPI_POINTER if it hasn't already been defined. By default MPI_POINTER
@@ -50,7 +51,7 @@
typedef int32_t S32;
-typedef u_int32_t U32;
+typedef uint32_t U32;
typedef struct _S64
{