pkgsrc/x11/modular-xorg-server/patches/patch-sb
joerg 595265ae32 Fix basic NetBSD SPARC support. This currently disables Sbus until
someone more involved in the platform take a look or I find the time to
merge the xsrc changes.
2007-08-16 20:10:15 +00:00

15 lines
612 B
Text

$NetBSD: patch-sb,v 1.1 2007/08/16 20:10:16 joerg Exp $
Temporary disable Sbus suport.
--- hw/xfree86/common/xf86Configure.c.orig 2007-08-16 20:03:27.000000000 +0200
+++ hw/xfree86/common/xf86Configure.c
@@ -213,7 +213,7 @@ xf86AddBusDeviceToConfigure(const char *
NewDevice.GDev.identifier = "ISA Adapter";
NewDevice.GDev.busID = "ISA";
break;
-#if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__)
+#if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__) && !defined(__NetBSD__)
case BUS_SBUS: {
char *promPath = NULL;
NewDevice.sVideo = (sbusDevicePtr) busData;