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
2022Q4
Piotr Kubaj 2 months ago
parent b6d0a886b8
commit 154acf8af1
  1. 11
      x11-servers/xorg-server/files/patch-hw_xfree86_os-support_meson.build

@ -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'
Loading…
Cancel
Save