Ravenports generated: 09 Jan 2022 18:36
[ravenports.git] / bucket_34 / xorg-pciaccess
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xorg-pciaccess
4 VERSION=                0.16
5 REVISION=               1
6 KEYWORDS=               x11
7 VARIANTS=               standard
8 SDESC[standard]=        Generic PCI access library
9 HOMEPAGE=               https://www.x.org/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            XORG/individual/lib
14 DISTFILE[1]=            libpciaccess-0.16.tar.bz2:main
15 DIST_SUBDIR=            xorg
16 DF_INDEX=               1
17 SPKGS[standard]=        single
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 BUILDRUN_DEPENDS=       pciids:single:standard
23
24 USES=                   libtool
25
26 DISTNAME=               libpciaccess-0.16
27
28 FPC_EQUIVALENT=         devel/libpciaccess
29
30 MUST_CONFIGURE=         gnu
31 CONFIGURE_ARGS=         --with-pciids-path={{LOCALBASE}}/share/pciids
32
33 INSTALL_TARGET=         install-strip
34
35 [FILE:45:descriptions/desc.single]
36 This package contains the pciaccess library.
37
38
39 [FILE:109:distinfo]
40 214c9d0d884fdd7375ec8da8dcb91a8d3169f263294c9a90c575bf1938b9f489       366603 xorg/libpciaccess-0.16.tar.bz2
41
42
43 [FILE:128:manifests/plist.single]
44 include/pciaccess.h
45 lib/
46  libpciaccess.a
47  libpciaccess.so
48  libpciaccess.so.0
49  libpciaccess.so.0.11.1
50 lib/pkgconfig/pciaccess.pc
51
52
53 [FILE:1115:patches/patch-src_freebsd__pci.c]
54 --- src/freebsd_pci.c.orig      2019-07-17 16:25:27 UTC
55 +++ src/freebsd_pci.c
56 @@ -421,24 +421,6 @@ pci_system_freebsd_destroy( void )
57      freebsd_pci_sys = NULL;
58  }
59  
60 -static int
61 -pci_device_freebsd_has_kernel_driver( struct pci_device *dev )
62 -{
63 -    struct pci_io io;
64 -
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;
69 -    
70 -    if ( ioctl( freebsd_pci_sys->pcidev, PCIOCATTACHED, &io ) < 0 ) {
71 -       return 0;
72 -    }
73 -
74 -    /* if io.pi_data is 0, no driver is attached */
75 -    return io.pi_data == 0 ? 0 : 1;
76 -}
77 -
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,
83      .enable = NULL,
84      .boot_vga = NULL,
85 -    .has_kernel_driver = pci_device_freebsd_has_kernel_driver,
86 +    .has_kernel_driver = NULL,
87  
88      .open_device_io = pci_device_freebsd_open_io,
89      .open_legacy_io = pci_device_freebsd_open_legacy_io,
90