From nobody@FreeBSD.org  Wed Feb 15 23:52:03 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1B8341065676
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Feb 2012 23:52:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 0A9F48FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Feb 2012 23:52:03 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1FNq2Fh018263
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Feb 2012 23:52:02 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1FNq2jp018262;
	Wed, 15 Feb 2012 23:52:02 GMT
	(envelope-from nobody)
Message-Id: <201202152352.q1FNq2jp018262@red.freebsd.org>
Date: Wed, 15 Feb 2012 23:52:02 GMT
From: Mike <libreme@comcast.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: audio/oss does not compile on 8-STABLE after Jan. 31 port update
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:    jkim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 16 00:00:25 UTC 2012
>Closed-Date:    Fri Feb 17 19:46:33 UTC 2012
>Last-Modified:  Fri Feb 17 19:46:33 UTC 2012
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->jkim 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Feb 16 00:00:43 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165193 
State-Changed-From-To: open->closed 
State-Changed-By: jkim 
State-Changed-When: Fri Feb 17 19:44:20 UTC 2012 
State-Changed-Why:  
Fixed.  Thanks for the report and sorry for the breakage. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165193 
>Unformatted:
