1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Fix build on 8.x.

PR:	ports/165193
This commit is contained in:
Jung-uk Kim 2012-02-17 19:42:33 +00:00
parent 26e461e4ec
commit be3a92a6bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291622

View File

@ -21,7 +21,7 @@
if (!(flags & CHDEV_VIRTUAL) && (name != NULL))
{
+#if __FreeBSD_version >= 801500
+#if __FreeBSD_version >= 900023
+ if (make_dev_p (MAKEDEV_CHECKNAME, &bsd_cdev, &oss_cdevsw, NULL,
+ UID_ROOT, GID_WHEEL, 0666, name, 0))
+ {