Bug 36966

Summary: audio/libao build fails on 5-current
Product: Ports & Packages Reporter: motoyuki
Component: Individual Port(s)Assignee: Christian Weisgerber <naddy>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description motoyuki 2002-04-10 17:20:03 UTC
	ports/audio/libao build fails on 5-current (after Mar 26 2002)
	because <machine/soundcard.h> doesn't exist.

--------build log begin--------
cc -DPACKAGE=\"libao\" -DVERSION=\"0.8.2\" -DHAVE_DLFCN_H=1 -DSIZEOF_SHORT=2 -DS
IZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SYS_SOUNDCARD_H=1 -I. -I. -I../../../include/
ao -I../../../include -O2 -pipe -march=pentium -c ao_oss.c  -fPIC -DPIC -o ao_os
s.lo
ao_oss.c:36: machine/soundcard.h: No such file or directory
--------build log end--------

Fix: Since FreeBSD 4.0-RELEASE, the default place for soundcard.h
	is <sys/soundcard.h>.  <machine/soundcard.h> was a compatibility
	symlink to <sys/soundcard.h>

	After Mar 26 2002, <machine/soundcard.h> is NOT installed on
	5-current.  So, the following patch is needed.

--------
How-To-Repeat: 	build ports/sound/libao port on 5-current box.
Comment 1 motoyuki freebsd_committer freebsd_triage 2002-04-10 17:20:41 UTC
Responsible Changed
From-To: freebsd-ports->naddy

Over to maintainer.
Comment 2 Christian Weisgerber freebsd_committer freebsd_triage 2002-04-10 21:45:19 UTC
State Changed
From-To: open->closed

Patch committed and forwarded to upstream maintainer, thanks!