summaryrefslogtreecommitdiff
path: root/x11/modular-xorg-server/patches/patch-sb
blob: 16b729757f042c58e9f04101ae2b6416ceff9518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-sb,v 1.2 2009/06/07 11:23:47 wiz Exp $

Temporary disable Sbus suport.

--- hw/xfree86/common/xf86Configure.c.orig	2009-03-21 01:57:50 +0200
+++ hw/xfree86/common/xf86Configure.c	2009-05-19 14:36:57 +0300
@@ -115,7 +115,7 @@ xf86AddBusDeviceToConfigure(const char *
 		return NULL;
 	isPrimary = xf86IsPrimaryPci(pVideo);
 	break;
-#if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__)
+#if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__) && !defined(__NetBSD__)
     case BUS_SBUS:
 	for (i = 0;  i < nDevToConfig;  i++)
 	    if (DevToConfig[i].sVideo &&