$NetBSD: patch-sa,v 1.2 2009/06/07 11:23:47 wiz Exp $

--- hw/xfree86/common/compiler.h.orig	2009-05-19 14:25:30 +0300
+++ hw/xfree86/common/compiler.h	2009-05-19 14:26:04 +0300
@@ -531,7 +531,7 @@ inl(unsigned short port)
    return ret;
 }
 
-#   elif (defined(linux) || defined(sun) || defined(__OpenBSD__) || defined(__FreeBSD__)) && defined(__sparc__)
+#   elif (defined(linux) || defined(sun) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)) && defined(__sparc__)
 
 #     ifndef ASI_PL
 #      define ASI_PL 0x88
