HomeFreeBSD

x11/libpciaccess: Update to 0.14.0

Description

x11/libpciaccess: Update to 0.14.0

Update x11/libpciaccess to 0.14.0. Rework the patch to match what has
been submitted upstream.

Remove old code that was used before PCIOCGETBAR. PCIOCGETBAR has been part
of FreeBSD for a long time.
Remove check for if pci_io.pi_sel.pc_domain exists. This has been the case
for quite some time.
Add a function to detect if a driver has been attached to a PCI device
Implement pci_device_freebsd_open_io, this fixes runtime of xf86-video-qxl
and possibly other drivers [1]
Reformat and try to apply upstream style.

Side note, instead of trying to patch configure, I've elected to change
configure.ac and add a dependency on autoreconf. The difference between the
previous configure and a new configure generated by the patched configure.ac
is quite large.

PR: 238590 [1]
Submitted by: cem [1]
Obtained from: FreeBSD Graphics Team development repo
Sponsored by: B3 Init (zeising)

Details

Provenance
zeisingAuthored on
Parents
rP505439: Yash is explicitly written in C99. GCC 4.2 can handle this without
Branches
Unknown
Tags
Unknown