diff options
author | drochner <drochner@pkgsrc.org> | 2007-03-23 16:28:30 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-03-23 16:28:30 +0000 |
commit | b01e382f938ee4977bfa0f987d385253d4f77b0c (patch) | |
tree | 3d381b1be6219ee4a3fedc4200992f1cd0c9fe9b /x11/libdrm/patches | |
parent | f99248600d305c632ca6bd628f8dd322f94773e6 (diff) | |
download | pkgsrc-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-aa | 16 | ||||
-rw-r--r-- | x11/libdrm/patches/patch-ab | 13 |
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__ |