Index: base/stdint_.h --- base/stdint_.h.orig 2022-04-04 15:48:49.000000000 +0200 +++ base/stdint_.h 2022-08-02 00:06:02.371583000 +0200 @@ -71,6 +71,13 @@ typedef unsigned long long uint64_t; # define STDINT_TYPES_DEFINED # endif +#ifdef __sun__ +# include +# define STDINT_TYPES_DEFINED +#endif +#ifdef __FreeBSD__ +# define STDINT_TYPES_DEFINED +#endif /* other archs may want to add defines here, or use the fallbacks in std.h */ #endif Index: configure --- configure.orig 2022-08-02 00:06:02.374334000 +0200 +++ configure 2022-08-02 00:06:55.858526000 +0200 @@ -4693,9 +4693,7 @@ if test x"$GCC" = x"yes"; then - cflags_to_try="-Wall -Wstrict-prototypes -Wundef \ --Wmissing-declarations -Wmissing-prototypes -Wwrite-strings \ --fno-strict-aliasing -Werror=declaration-after-statement \ + cflags_to_try="-fno-strict-aliasing -Werror=declaration-after-statement \ -fno-builtin -fno-common -Werror=return-type $CFLAGS_LARGEFILE" optflags_to_try="$CC_OPT_FLAGS_TO_TRY" dbgflags_to_try="$CC_DBG_FLAGS_TO_TRY"