summaryrefslogtreecommitdiff
path: root/misc/kdeadmin3/patches/patch-ab
blob: 7ae09d9337af1c80ea1d469289a99c4f4a6bf60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.1 2003/03/11 13:22:21 markd Exp $

--- kxconfig/kxdata.cpp.orig	2002-12-06 09:37:50.000000000 +1300
+++ kxconfig/kxdata.cpp
@@ -28,7 +28,7 @@
 #include <kstandarddirs.h>
 
 #include <X11/Xlib.h>
-#ifndef __osf__
+#if ! (defined(__osf__) || defined(__svr4__))
 #include <X11/extensions/xf86misc.h>
 #endif
 
@@ -332,7 +332,7 @@ void KXData::loadPointerData()
 {
     // ### hardcoded
 
-#ifndef __osf__
+#if ! (defined(__osf__) || defined(__svr4__))
     m_pointerModels.append( KXPointerModel( i18n( "Generic PS/2" ), "PS/2",
                                             MTYPE_PS_2 ) );
     m_pointerModels.append( KXPointerModel( i18n( "Generic PS/2 Wheelmouse" ), "PS/2",