Date: Thu, 11 Apr 2002 01:11:23 +0900 (JST) From: Motoyuki Konno <motoyuki@bsdclub.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36966: audio/libao build fails on 5-current Message-ID: <200204101611.g3AGBNj52234@tomoyo.mk.bsdclub.org>
next in thread | raw e-mail | index | archive | help
>Number: 36966 >Category: ports >Synopsis: audio/libao build fails on 5-current >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 10 09:20:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Motoyuki Konno >Release: FreeBSD 5.0-CURRENT i386 >Organization: BSD Club >Environment: System: FreeBSD tomoyo.mk.bsdclub.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Apr 10 10:13:42 JST 2002 motoyuki@tomoyo.mk.bsdclub.org:/d1/obj/usr/src/sys/TOMOYO i386 >Description: 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-------- >How-To-Repeat: build ports/sound/libao port on 5-current box. >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. -------- --- src/plugins/oss/ao_oss.c.old Tue Oct 16 09:13:47 2001 +++ src/plugins/oss/ao_oss.c Thu Apr 11 00:39:52 2002 @@ -32,8 +32,6 @@ #include <math.h> #if defined(__OpenBSD__) || defined(__NetBSD__) #include <soundcard.h> -#elif defined(__FreeBSD__) -#include <machine/soundcard.h> #else #include <sys/soundcard.h> #endif -------- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204101611.g3AGBNj52234>