diff options
Diffstat (limited to 'x11-drivers/xlibre-xf86-video-ast/files/patch-src_ast__driver.c')
| -rw-r--r-- | x11-drivers/xlibre-xf86-video-ast/files/patch-src_ast__driver.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-drivers/xlibre-xf86-video-ast/files/patch-src_ast__driver.c b/x11-drivers/xlibre-xf86-video-ast/files/patch-src_ast__driver.c new file mode 100644 index 000000000000..172e8a4ed7a3 --- /dev/null +++ b/x11-drivers/xlibre-xf86-video-ast/files/patch-src_ast__driver.c @@ -0,0 +1,19 @@ +--- src/ast_driver.c.orig 2024-08-01 13:20:24 UTC ++++ src/ast_driver.c +@@ -273,6 +273,8 @@ ASTProbe(DriverPtr drv, int flags) + + #ifdef XSERVER_LIBPCIACCESS + { ++#ifndef __FreeBSD__ ++ /* FreeBSD always has vgapci driver attached. */ + struct pci_device *pPci = xf86GetPciInfoForEntity(usedChips[i]); + + if (pci_device_has_kernel_driver(pPci)) { +@@ -289,6 +291,7 @@ ASTProbe(DriverPtr drv, int flags) + free(devSections); + return FALSE; + } ++#endif + } + #endif + |
