https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270509
NAKAJI Hiroyuki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #29 from NAKAJI Hiroyuki <[email protected]> ---
(In reply to wbe from comment #28)
How about this patch for x11-drivers/xf86-video-mga?
diff -urN /usr/ports/x11-drivers/xf86-video-mga/files/patch-src_mga__driver.c
./x11-drivers/xf86-video-mga/files/patch-src_mga__driver.c
--- /usr/ports/x11-drivers/xf86-video-mga/files/patch-src_mga__driver.c
1970-01-01 09:00:00.000000000 +0900
+++ ./x11-drivers/xf86-video-mga/files/patch-src_mga__driver.c 2023-06-28
14:09:39.602063000 +0900
@@ -0,0 +1,18 @@
+--- src/mga_driver.c.orig 2018-12-08 10:08:01.000000000 +0900
++++ src/mga_driver.c 2023-06-28 14:08:34.513506000 +0900
+@@ -702,6 +702,7 @@
+ ScrnInfoPtr pScrn = NULL;
+ MGAPtr pMga;
+
++#ifndef __FreeBSD__
+ if (pci_device_has_kernel_driver(dev)) {
+ /* If it's a G200 server chip, it's probably on KMS, so bail; if not,
+ * it might be using matroxfb, which is ok. */
+@@ -721,6 +722,7 @@
+ return FALSE;
+ }
+ }
++#endif
+
+ /* Allocate a ScrnInfoRec and claim the slot */
+ pScrn = xf86ConfigPciEntity(pScrn, 0, entity_num, MGAPciChipsets,
--
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.