From 13234efe7b41617477d4f71dc45c608029bfe5d2 Mon Sep 17 00:00:00 2001 From: NexusSfan Date: Thu, 12 Mar 2026 21:13:58 -0700 Subject: [PATCH] Fix Hurd support for the `vesa` driver. Also, nitpick, but `__GNU__` is the correct ifdef to use, not `__hurd__`. Signed-off-by: NexusSfan --- hw/xfree86/common/xf86AutoConfig.c | 2 +- hw/xfree86/os-support/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c index 7142c683d6..e61a77b8fc 100644 --- a/hw/xfree86/common/xf86AutoConfig.c +++ b/hw/xfree86/common/xf86AutoConfig.c @@ -307,7 +307,7 @@ listPossibleVideoDrivers(XF86MatchedDrivers *md) #endif /* Fallback to platform default hardware */ -#if defined(__i386__) || defined(__amd64__) || defined(__hurd__) +#if defined(__i386__) || defined(__amd64__) || defined(__GNU__) xf86AddMatchedDriver(md, "vesa"); #elif defined(__sparc__) && !defined(__sun) xf86AddMatchedDriver(md, "sunffb"); diff --git a/hw/xfree86/os-support/meson.build b/hw/xfree86/os-support/meson.build index db2253165c..631ae64772 100644 --- a/hw/xfree86/os-support/meson.build +++ b/hw/xfree86/os-support/meson.build @@ -148,6 +148,7 @@ else 'stub/stub_bell.c', 'stub/stub_init.c', 'stub/stub_video.c', + 'misc/SlowBcopy.c', ] endif