summaryrefslogtreecommitdiff
path: root/x11/libdrm
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libdrm')
-rw-r--r--x11/libdrm/Makefile3
-rw-r--r--x11/libdrm/distinfo4
-rw-r--r--x11/libdrm/patches/patch-aa16
-rw-r--r--x11/libdrm/patches/patch-ab13
4 files changed, 34 insertions, 2 deletions
diff --git a/x11/libdrm/Makefile b/x11/libdrm/Makefile
index 521dc5850eb..56148adee28 100644
--- a/x11/libdrm/Makefile
+++ b/x11/libdrm/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2006/11/14 18:19:43 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/03/23 16:28:30 drochner Exp $
#
DISTNAME= libdrm-2.3.0
+PKGREVISION= 1
CATEGORIES= x11 graphics
MASTER_SITES= http://dri.freedesktop.org/libdrm/
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/libdrm/distinfo b/x11/libdrm/distinfo
index df5a0bce473..14915ac03c6 100644
--- a/x11/libdrm/distinfo
+++ b/x11/libdrm/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.2 2006/11/14 18:19:43 joerg Exp $
+$NetBSD: distinfo,v 1.3 2007/03/23 16:28:30 drochner Exp $
SHA1 (libdrm-2.3.0.tar.bz2) = af2e8d6e3ad6b906b4d6f1b2ada2d523188c28ea
RMD160 (libdrm-2.3.0.tar.bz2) = ca9f6cdde2fcee40e63a43e0395781000472a2c1
Size (libdrm-2.3.0.tar.bz2) = 267949 bytes
+SHA1 (patch-aa) = cc63dd837d6c25925e3a4d70c1ebd4860da1edd8
+SHA1 (patch-ab) = 46a47c10afd42d3138dfefc855511a9138564b83
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__