Index: base/stdint_.h --- base/stdint_.h.orig 2020-09-10 17:36:49.000000000 +0200 +++ base/stdint_.h 2020-09-12 10:27:25.834031000 +0200 @@ -70,6 +70,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 2020-09-12 10:27:25.837955000 +0200 +++ configure 2020-09-12 14:13:18.419667000 +0200 @@ -4684,9 +4684,7 @@ if test $GCC = 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"