From c8ffea239fe27ac2d493ad2ac8113d51600d11aa Mon Sep 17 00:00:00 2001 From: Sergey Zigachev Date: Thu, 11 Jul 2024 15:06:32 +0500 Subject: [PATCH] x11-drivers/xf86-video-vesa: adopt freebsd workaround --- .../xf86-video-vesa/dragonfly/patch-src_vesa.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ports/x11-drivers/xf86-video-vesa/dragonfly/patch-src_vesa.c diff --git a/ports/x11-drivers/xf86-video-vesa/dragonfly/patch-src_vesa.c b/ports/x11-drivers/xf86-video-vesa/dragonfly/patch-src_vesa.c new file mode 100644 index 000000000000..2221aeea6ab0 --- /dev/null +++ b/ports/x11-drivers/xf86-video-vesa/dragonfly/patch-src_vesa.c @@ -0,0 +1,11 @@ +--- src/vesa.c.orig 2024-07-11 09:29:26 UTC ++++ src/vesa.c +@@ -464,7 +464,7 @@ VESAPciProbe(DriverPtr drv, int entity_n + if (pScrn != NULL) { + VESAPtr pVesa; + +-#ifndef __FreeBSD__ ++#ifndef __DragonFly__ + if (pci_device_has_kernel_driver(dev)) { + ErrorF("vesa: Ignoring device with a bound kernel driver\n"); + return FALSE;