1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= xorg-pciaccess
8 SDESC[standard]= Generic PCI access library
9 HOMEPAGE= https://www.x.org/
13 SITES[main]= XORG/individual/lib
14 DISTFILE[1]= libpciaccess-0.16.tar.bz2:main
17 SPKGS[standard]= single
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILDRUN_DEPENDS= pciids:single:standard
26 DISTNAME= libpciaccess-0.16
28 FPC_EQUIVALENT= devel/libpciaccess
31 CONFIGURE_ARGS= --with-pciids-path={{LOCALBASE}}/share/pciids
33 INSTALL_TARGET= install-strip
35 [FILE:45:descriptions/desc.single]
36 This package contains the pciaccess library.
40 214c9d0d884fdd7375ec8da8dcb91a8d3169f263294c9a90c575bf1938b9f489 366603 xorg/libpciaccess-0.16.tar.bz2
43 [FILE:128:manifests/plist.single]
49 libpciaccess.so.0.11.1
50 lib/pkgconfig/pciaccess.pc
53 [FILE:1115:patches/patch-src_freebsd__pci.c]
54 --- src/freebsd_pci.c.orig 2019-07-17 16:25:27 UTC
56 @@ -421,24 +421,6 @@ pci_system_freebsd_destroy( void )
57 freebsd_pci_sys = NULL;
61 -pci_device_freebsd_has_kernel_driver( struct pci_device *dev )
65 - io.pi_sel.pc_domain = dev->domain;
66 - io.pi_sel.pc_bus = dev->bus;
67 - io.pi_sel.pc_dev = dev->dev;
68 - io.pi_sel.pc_func = dev->func;
70 - if ( ioctl( freebsd_pci_sys->pcidev, PCIOCATTACHED, &io ) < 0 ) {
74 - /* if io.pi_data is 0, no driver is attached */
75 - return io.pi_data == 0 ? 0 : 1;
78 static struct pci_io_handle *
79 pci_device_freebsd_open_legacy_io( struct pci_io_handle *ret,
80 struct pci_device *dev, pciaddr_t base,
81 @@ -614,7 +596,7 @@ static const struct pci_system_methods f
82 .fill_capabilities = pci_fill_capabilities_generic,
85 - .has_kernel_driver = pci_device_freebsd_has_kernel_driver,
86 + .has_kernel_driver = NULL,
88 .open_device_io = pci_device_freebsd_open_io,
89 .open_legacy_io = pci_device_freebsd_open_legacy_io,