Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2012 23:52:02 GMT
From:      Mike <libreme@comcast.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165193: audio/oss does not compile on 8-STABLE after Jan. 31 port update
Message-ID:  <201202152352.q1FNq2jp018262@red.freebsd.org>
Resent-Message-ID: <201202160000.q1G00PhL075441@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165193
>Category:       ports
>Synopsis:       audio/oss does not compile on 8-STABLE after Jan. 31 port update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 16 00:00:25 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mike
>Release:        8.2-STABLE (__FreeBSD_version 802516)
>Organization:
>Environment:
FreeBSD m2nslid 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Feb 11 13:18:30 PST 2012     root@m2nslid:/usr/obj/usr/src/sys/CUSTOM  amd64

>Description:
The January 31 update to audio/oss added this snippet to patch-kernel-OS-FreeBSD-os_freebsd.c:

+#if __FreeBSD_version >= 801500
+      if (make_dev_p (MAKEDEV_CHECKNAME, &bsd_cdev, &oss_cdevsw, NULL,
+                     UID_ROOT, GID_WHEEL, 0666, name, 0))
+       {
+         cmn_err (CE_WARN, "Cannot allocate device node /dev/%s\n", name);
+         return;
+       }
+#else

However, MAKEDEV_CHECKNAME does not appear to be present in any version of 8-STABLE.

svnweb.freebsd.org indicates that MAKEDEV_CHECKNAME was added to HEAD:sys/sys/conf.h on Oct. 7 2010 (r213526), while 8-STABLE:sys/sys/conf.h has not changed since Sep. 5 2010 (r212229).
>How-To-Repeat:
Compile audio/oss under 8-STABLE
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202152352.q1FNq2jp018262>