summaryrefslogtreecommitdiff
path: root/sysutils/aperture/patches/patch-ab
diff options
context:
space:
mode:
authortron <tron>2002-09-13 07:16:44 +0000
committertron <tron>2002-09-13 07:16:44 +0000
commit103c4a8a5fcb53c7417ecb281eda8439324b3d5e (patch)
tree996ce5416bf08e0061b522b2f3854019e3bcb0e9 /sysutils/aperture/patches/patch-ab
parent1b60dfebfae2a3bdd5ea0210b76a7ceb22bba2bb (diff)
downloadpkgsrc-103c4a8a5fcb53c7417ecb281eda8439324b3d5e.tar.gz
Make this module compile on NetBSD-current after the "gehenna-devsw"
branch has been merged.
Diffstat (limited to 'sysutils/aperture/patches/patch-ab')
-rw-r--r--sysutils/aperture/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/aperture/patches/patch-ab b/sysutils/aperture/patches/patch-ab
new file mode 100644
index 00000000000..4c090cbb4d2
--- /dev/null
+++ b/sysutils/aperture/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.3 2002/09/13 07:16:45 tron Exp $
+
+--- module/xf86_mod.c.orig Fri Sep 13 08:13:28 2002
++++ module/xf86_mod.c Fri Sep 13 08:16:34 2002
+@@ -31,7 +31,11 @@
+ 0,
+ seltrue, xf86mmap, 0};
+
++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 106080000)
++MOD_DEV("xf86", "xf86", NULL, -1, &newdev, -1)
++#else
+ MOD_DEV("xf86", LM_DT_CHAR, -1, &newdev)
++#endif
+
+ char *xf86_major_version = "2";
+ char *xf86_minor_version = "0";