From e79765bdadc831d94a2f642728f62267f22490f1 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 22 Jan 2026 11:59:20 +0100 Subject: [PATCH] xfree86: xlibre-server.h: fix missing HAVE_TIMINGSAFE_MEMCMP os.h still defining our own timingsafe_memcmp() prototype when this symbol isn't set - this is causing trouble with drivers on FreeBSD. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/xlibre-server.h.meson.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/xfree86/xlibre-server.h.meson.in b/hw/xfree86/xlibre-server.h.meson.in index 5956367f0..c33d0f7d1 100644 --- a/hw/xfree86/xlibre-server.h.meson.in +++ b/hw/xfree86/xlibre-server.h.meson.in @@ -209,4 +209,7 @@ #define XORG_API_DIX_SCREEN_HOOK_CLOSE 1 #define XORG_API_DIX_SCREEN_HOOK_PIXMAP_DESTROY 1 +/* needed for os.h to prevent redefinition of timingsafe_memcmp in drivers */ +#mesondefine HAVE_TIMINGSAFE_MEMCMP + #endif /* _XORG_SERVER_H_ */