libpciaccess 0.13.1 FreeBSD Patch to fix xorg-server-1.12.4 (and later)
Submitted by John Wehle
Assigned to Xorg Project Team
Created attachment 78051 Patch
On xorg-server-1.11.4 works fine with a Radeon 7850 running with the VESA driver on FreeBSD 9.1. Upgrading to xorg-server-1.12.4 causes the X11 server to crash during startup when int10 / VBE is being initialized.
Tracing through the code shows the problem is cause by libpciaccess missing routines for implementing legacy I/O on FreeBSD. With the enclosed patch applied xorg-server-1.12.4 passes a quick smoke test.
This fix has only be tested on an i386 platform.
Attachment 78051, "Patch":
Version: 7.7 (2012.06)