summaryrefslogtreecommitdiff
path: root/x11/libdrm/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-03-23 16:28:30 +0000
committerdrochner <drochner@pkgsrc.org>2007-03-23 16:28:30 +0000
commitb01e382f938ee4977bfa0f987d385253d4f77b0c (patch)
tree3d381b1be6219ee4a3fedc4200992f1cd0c9fe9b /x11/libdrm/patches
parentf99248600d305c632ca6bd628f8dd322f94773e6 (diff)
downloadpkgsrc-b01e382f938ee4977bfa0f987d385253d4f77b0c.tar.gz
use major number 180 for drm on NetBSD, bump PKGREVISION
Diffstat (limited to 'x11/libdrm/patches')
-rw-r--r--x11/libdrm/patches/patch-aa16
-rw-r--r--x11/libdrm/patches/patch-ab13
2 files changed, 29 insertions, 0 deletions
diff --git a/x11/libdrm/patches/patch-aa b/x11/libdrm/patches/patch-aa
new file mode 100644
index 00000000000..4add3d483d5
--- /dev/null
+++ b/x11/libdrm/patches/patch-aa
@@ -0,0 +1,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
diff --git a/x11/libdrm/patches/patch-ab b/x11/libdrm/patches/patch-ab
new file mode 100644
index 00000000000..a301defbb5d
--- /dev/null
+++ b/x11/libdrm/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/03/23 16:28:30 drochner Exp $
+
+--- ./libdrm/xf86drm.c.orig 2007-03-19 23:07:15.000000000 +0100
++++ ./libdrm/xf86drm.c
+@@ -67,7 +67,7 @@
+ #endif
+
+ #ifdef __NetBSD__
+-#define DRM_MAJOR 34
++#define DRM_MAJOR 180
+ #endif
+
+ # ifdef __OpenBSD__