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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Mar 2023 19:04:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270509

--- Comment #17 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit b6d89731d542582d2cc751e7a56b78df76a38ce7
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-03-30 08:05:52 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
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.