aboutsummaryrefslogtreecommitdiff
path: root/misc/dahdi-kmod26
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2014-02-09 10:47:49 +0000
committerMax Khon <fjoe@FreeBSD.org>2014-02-09 10:47:49 +0000
commit16cc6764fcf0454af091387437701bef46cd8d7c (patch)
tree93b7511a57919b70403400da2b3eec81f0353836 /misc/dahdi-kmod26
parente971a6b6366b20d5b0be9dfef4c5cdb46b78f367 (diff)
downloadports-16cc6764fcf0454af091387437701bef46cd8d7c.tar.gz
ports-16cc6764fcf0454af091387437701bef46cd8d7c.zip
Notes
Diffstat (limited to 'misc/dahdi-kmod26')
-rw-r--r--misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi-base.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi-base.c b/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi-base.c
index cc2fa9b5adf4..6d5c576f8e40 100644
--- a/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi-base.c
+++ b/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi-base.c
@@ -1,9 +1,11 @@
---- drivers/dahdi/dahdi-base.c.orig 2013-11-18 19:11:51.000000000 +0700
-+++ drivers/dahdi/dahdi-base.c 2013-11-18 19:12:07.000000000 +0700
-@@ -10224,6 +10224,8 @@
+--- drivers/dahdi/dahdi-base.c.orig 2012-09-28 02:45:03.000000000 +0700
++++ drivers/dahdi/dahdi-base.c 2014-02-09 17:45:02.000000000 +0700
+@@ -10223,7 +10223,9 @@
+ .d_ioctl = dahdi_device_ioctl,
.d_poll = dahdi_device_poll,
.d_name = "dahdi",
- #if __FreeBSD_version >= 800039
+-#if __FreeBSD_version >= 800039
++#if __FreeBSD_version >= 1000000
+ .d_flags = D_TRACKCLOSE | D_NEEDMINOR
+#elif __FreeBSD_version >= 800039
.d_flags = D_PSEUDO | D_TRACKCLOSE | D_NEEDMINOR