$NetBSD: patch-configure,v 1.3 2023/02/27 10:23:37 wiz Exp $ Avoid redefinition of bswap macros. https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/65 --- configure.orig 2023-02-22 17:14:53.000000000 +0000 +++ configure @@ -20745,14 +20745,6 @@ printf "%s\n" "$SYS_ENDIAN_BSWAP" >&6; } printf "%s\n" "#define USE_SYS_ENDIAN_H 1" >>confdefs.h -printf "%s\n" "#define bswap_16 ${BSWAP}16" >>confdefs.h - - -printf "%s\n" "#define bswap_32 ${BSWAP}32" >>confdefs.h - - -printf "%s\n" "#define bswap_64 ${BSWAP}64" >>confdefs.h - fi fi