[Bug 270509] devel/libpciaccess: apparent problem with recent change to pci_device_freebsd_has_kernel_driver

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270509

--- Comment #17 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=b6d89731d542582d2cc751e7a56b78df76a38ce7

commit b6d89731d542582d2cc751e7a56b78df76a38ce7
Author:     Emmanuel Vadot <[email protected]>
AuthorDate: 2023-03-30 08:05:52 +0000
Commit:     Emmanuel Vadot <[email protected]>
CommitDate: 2023-03-30 19:03:20 +0000

    x11-drivers/xf86-video-vesa: Add patch for ignoring if kernel as a driver

    The vesa driver checks if the kernel as a driver attached to the pci
device.
    This used to work before df10dcefa427 ("devel/libpciaccess: Update to
0.17")
    because we had a patch in libpciaccess that always said that the kernel
didn't
    had any driver attached. This is obviously not a correct way.
    The problem is that vgapci is always attached for us so for pci video
devices
    we always have a driver attached.
    Ignoring the check in xf86-video-vesa seems the best way for us.

    PR:     270509
    Sponsored by:   Beckhoff Automation GmbH & Co. KG

 x11-drivers/xf86-video-vesa/Makefile                     |  2 +-
 x11-drivers/xf86-video-vesa/files/patch-src_vesa.c (new) | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.