Bug 259160 - x11-servers/xorg-server: fix build on riscv64
Summary: x11-servers/xorg-server: fix build on riscv64
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: riscv Any
: --- Affects Many People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-10-13 22:16 UTC by Robert Clausecker
Modified: 2021-10-15 11:39 UTC (History)
3 users (show)

See Also:
zeising: maintainer-feedback+
koobs: merge-quarterly?


Attachments
x11-servers/xorg-server: fix build on riscv64 (1.21 KB, patch)
2021-10-13 22:16 UTC, Robert Clausecker
fuz: maintainer-approval? (x11)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker 2021-10-13 22:16:07 UTC
Created attachment 228684 [details]
x11-servers/xorg-server: fix build on riscv64

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.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-10-13 22:40:18 UTC
If any of the related issues (or this one) should be committed prior to others, please add them to the relevent Depends On or Blocks fields in the order in which they should be addressed.

Thanks Robert!
Comment 2 Niclas Zeising freebsd_committer 2021-10-15 11:39:11 UTC
No objections to this from me.  I have no way of testing on risc-V however.