maintainer-approval requested: [Bug 259160] x11-servers/xorg-server: fix build on riscv64 : [Attachment 228684] x11-servers/xorg-server: fix build on riscv64

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Oct 2021 22:16:07 UTC
Robert Clausecker <fuz@fuz.su> has asked freebsd-x11 (Nobody) <x11@FreeBSD.org>
for maintainer-approval:
Bug 259160: x11-servers/xorg-server: fix build on riscv64
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259160

Attachment 228684: x11-servers/xorg-server: fix build on riscv64
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228684&action=edit



--- Description ---
With this patch I was able to build x11-servers/xorg-server on a patched
riscv64 FreeBSD 13-STABLE.  I cannot test if it builds and works on vanilla
riscv64.  The patch basically tells the build system to use the IO access setup
code from ARM for RISC-V, too.	It seems to work and I can start an X server
(but didn't get a picture due to a configuration issue it seems).

Needs additional QA.

Related to bug #259158 and bug #259159.