aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-03-21 14:43:31 +0800
committerscottl <scottl@FreeBSD.org>2004-03-21 14:43:31 +0800
commitf47b1c005bb0a46b57bc6c86ac7def6dce838e11 (patch)
treebe0fb1dbd15703f077ab0f64bff64af39d59cfdf /comms
parentcea87a081c992709e21118f99ac0bc67f59faa4c (diff)
downloadfreebsd-ports-graphics-f47b1c005bb0a46b57bc6c86ac7def6dce838e11.tar.gz
freebsd-ports-graphics-f47b1c005bb0a46b57bc6c86ac7def6dce838e11.tar.zst
freebsd-ports-graphics-f47b1c005bb0a46b57bc6c86ac7def6dce838e11.zip
My last attempt to fix 5.x was incorrect for 4.x. Move a #endif around so
it covers the correct scope.
Diffstat (limited to 'comms')
-rw-r--r--comms/ltmdm/files/patch-aa2
1 files changed, 1 insertions, 1 deletions
diff --git a/comms/ltmdm/files/patch-aa b/comms/ltmdm/files/patch-aa
index 551b36241a5..675388144e4 100644
--- a/comms/ltmdm/files/patch-aa
+++ b/comms/ltmdm/files/patch-aa
@@ -108,13 +108,13 @@
+ .d_maj = CDEV_MAJOR,
+#endif
+ .d_kqfilter = ttykqfilter,
-+#endif
+#if __FreeBSD_version >= 502102
+ .d_flags = D_TTY | D_NEEDGIANT,
+ .d_version = D_VERSION
+#else
+ .d_poll = ttypoll,
+#endif
++#endif
};
static u_int com_events; /* input chars + weighted output completions */