ports/148435: [patch] audio/beep: <machine/speaker.h> is deprecated

Anonymous swell.k at gmail.com
Wed Jul 7 18:00:12 UTC 2010


>Number:         148435
>Category:       ports
>Synopsis:       [patch] audio/beep: <machine/speaker.h> is deprecated
>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:   Wed Jul 07 18:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
<dev/speaker/speaker.h> is present since Nov 2005.
It was added to /head in r152306 and MFC'd to /stable/6 in 152520.
All supported releases have it.
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: audio/beep/Makefile
===================================================================
RCS file: /a/.cvsup/ports/audio/beep/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- audio/beep/Makefile	26 Apr 2010 07:07:31 -0000	1.9
+++ audio/beep/Makefile	7 Jul 2010 17:42:54 -0000
@@ -17,8 +17,12 @@ MAN1=		beep.1
 MANCOMPRESSED=	maybe
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64 pc98
 
 PLIST_FILES=	bin/beep
 
+post-patch:	.SILENT
+	${REINPLACE_CMD} 's|machine/speaker\.h|dev/speaker/speaker.h|' \
+		${WRKSRC}/beep.c
+
 .include <bsd.port.mk>
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list