diff --git a/x11-drivers/xf86-video-vesa/Makefile b/x11-drivers/xf86-video-vesa/Makefile index eed980de9624..94cdbdab9a68 100644 --- a/x11-drivers/xf86-video-vesa/Makefile +++ b/x11-drivers/xf86-video-vesa/Makefile @@ -1,11 +1,11 @@ PORTNAME= xf86-video-vesa PORTVERSION= 2.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org vesa display driver USES= xorg-cat:driver .include diff --git a/x11-drivers/xf86-video-vesa/files/patch-src_vesa.c b/x11-drivers/xf86-video-vesa/files/patch-src_vesa.c new file mode 100644 index 000000000000..440cb0520e80 --- /dev/null +++ b/x11-drivers/xf86-video-vesa/files/patch-src_vesa.c @@ -0,0 +1,15 @@ +--- src/vesa.c.orig 2023-03-30 07:58:49 UTC ++++ src/vesa.c +@@ -464,10 +464,12 @@ VESAPciProbe(DriverPtr drv, int entity_num, struct pci + if (pScrn != NULL) { + VESAPtr pVesa; + ++#ifndef __FreeBSD__ + if (pci_device_has_kernel_driver(dev)) { + ErrorF("vesa: Ignoring device with a bound kernel driver\n"); + return FALSE; + } ++#endif + + pVesa = VESAGetRec(pScrn); + VESAInitScrn(pScrn);