Update xf86-video-ati to 7.8.0 Update xf86-video-intel to 2.99.917.20170103 Update xf86-input-synaptics to 1.9.0 Update xf86-input-evdev to 2.10.5 Update xf86-video-r128 to 6.10.2 Update xf86-video-rendition to 4.2.6 New port: xf86-video-geode PR: 214591,216269,214687,214593,214715,216276,216277,216278,216287, 216288,216292,216298,214560,216299,216300,216301,216302 Approved by: swills (mentor, portmgr) Differential Revision: https://reviews.freebsd.org/D9436
23 lines
785 B
C
23 lines
785 B
C
--- hw/xfree86/common/xf86AutoConfig.c.orig 2017-01-11 20:00:58 UTC
|
|
+++ hw/xfree86/common/xf86AutoConfig.c
|
|
@@ -276,7 +276,7 @@ listPossibleVideoDrivers(char *matches[]
|
|
i += xf86PciMatchDriver(&matches[i], nmatches - i);
|
|
#endif
|
|
|
|
-#if defined(__linux__)
|
|
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
matches[i++] = xnfstrdup("modesetting");
|
|
#endif
|
|
|
|
@@ -285,8 +285,10 @@ listPossibleVideoDrivers(char *matches[]
|
|
if (i < (nmatches - 1)) {
|
|
#if !defined(__linux__) && defined(__sparc__)
|
|
matches[i++] = xnfstrdup("wsfb");
|
|
-#else
|
|
+#elif defined(__linux__)
|
|
matches[i++] = xnfstrdup("fbdev");
|
|
+#elif defined(__FreeBSD__)
|
|
+ matches[i++] = xnfstrdup("scfb");
|
|
#endif
|
|
}
|
|
#endif /* !__sun */
|