mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
14 lines
487 B
C
14 lines
487 B
C
--- 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 >= 1000000
|
|
+ .d_flags = D_TRACKCLOSE | D_NEEDMINOR
|
|
+#elif __FreeBSD_version >= 800039
|
|
.d_flags = D_PSEUDO | D_TRACKCLOSE | D_NEEDMINOR
|
|
#else
|
|
.d_flags = D_PSEUDO | D_TRACKCLOSE
|