x11-servers/xorg-server: fix build on powerpc64*

ld: error: undefined symbol: xf86EnableIO
>>> referenced by xf86Configure.c
>>>               libxorg_common.a.p/xf86Configure.c.o:(DoConfigure) in archive hw/xfree86/common/libxorg_common.a
This commit is contained in:
Piotr Kubaj 2022-08-04 18:31:54 +02:00
parent b6d0a886b8
commit 154acf8af1

View File

@ -0,0 +1,11 @@
--- hw/xfree86/os-support/meson.build.orig 2022-08-04 15:48:52 UTC
+++ hw/xfree86/os-support/meson.build
@@ -113,7 +113,7 @@ elif host_machine.system().endswith('bsd')
endif
elif host_machine.cpu_family() == 'arm'
srcs_xorg_os_support += 'bsd/arm_video.c'
- elif host_machine.cpu_family() == 'powerpc'
+ elif host_machine.cpu_family() == 'powerpc' or host_machine.cpu_family() == 'ppc64'
srcs_xorg_os_support += 'bsd/ppc_video.c'
elif host_machine.cpu_family() == 'sparc64'
srcs_xorg_os_support += 'bsd/sparc64_video.c'