Bug 36966 - audio/libao build fails on 5-current
Summary: audio/libao build fails on 5-current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Christian Weisgerber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-10 17:20 UTC by motoyuki
Modified: 2002-04-10 21:46 UTC (History)
0 users

See Also:


Attachments
file.diff (333 bytes, patch)
2002-04-10 17:20 UTC, motoyuki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!