mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Fix FreeBSD 10 (and later) compilation patch (FreeBSD version check).
This commit is contained in:
parent
e971a6b636
commit
16cc6764fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343453
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user