summaryrefslogtreecommitdiff
path: root/x11/libdrm/patches/patch-aa
blob: 4add3d483d5063dd6a5e4caa3c446a9ec999428c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.3 2007/03/23 16:28:30 drochner Exp $

--- shared-core/drm.h.orig	2007-03-19 22:59:31.000000000 +0100
+++ shared-core/drm.h
@@ -114,7 +114,10 @@
 #ifdef __OpenBSD__
 #define DRM_MAJOR       81
 #endif
-#if defined(__linux__) || defined(__NetBSD__)
+#if defined(__NetBSD__)
+#define DRM_MAJOR	180
+#endif
+#if defined(__linux__)
 #define DRM_MAJOR       226
 #endif
 #define DRM_MAX_MINOR   15