From varju@snapple.webct.com  Mon Jul 29 22:57:05 2002
Return-Path: <varju@snapple.webct.com>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 673D537B400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Jul 2002 22:57:05 -0700 (PDT)
Received: from snapple.webct.com (snapple.webct.com [209.87.17.45])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 81FEC43E67
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Jul 2002 22:56:57 -0700 (PDT)
	(envelope-from varju@snapple.webct.com)
Received: from snapple.webct.com (localhost [127.0.0.1])
	by snapple.webct.com (8.12.5/8.12.5) with ESMTP id g6U5uqLE099953
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Jul 2002 22:56:52 -0700 (PDT)
	(envelope-from varju@snapple.webct.com)
Received: (from varju@localhost)
	by snapple.webct.com (8.12.5/8.12.5/Submit) id g6U5upMq099952;
	Mon, 29 Jul 2002 22:56:51 -0700 (PDT)
Message-Id: <200207300556.g6U5upMq099952@snapple.webct.com>
Date: Mon, 29 Jul 2002 22:56:51 -0700 (PDT)
From: Alex Varju <varju@webct.com>
Reply-To: Alex Varju <varju@webct.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: fix ports/audio/sidplay build on current
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41148
>Category:       ports
>Synopsis:       fix ports/audio/sidplay build on current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 29 23:00:03 PDT 2002
>Closed-Date:    Tue Jul 30 05:37:55 PDT 2002
>Last-Modified:  Tue Jul 30 05:37:55 PDT 2002
>Originator:     Alex Varju
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
WebCT
>Environment:
System: FreeBSD alex.madd.tnmc.ca 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Jul 25 07:36:43 PDT 2002 root@alex.madd.tnmc.ca:/home/freebsd/obj/home/freebsd/src.HEAD/sys/ALEX i386

>Description:
ports/audio/sidplay won't build on current because the
machine/soundcard.h symlink has been removed.
>How-To-Repeat:
>Fix:

Index: ports/audio/sidplay/files/patch-audio::oss::audiodrv.h
--- audio/oss/audiodrv.h.orig	Sat Apr 10 21:00:00 1999
+++ audio/oss/audiodrv.h	Thu Jul 25 19:42:11 2002
@@ -18,6 +18,8 @@
   #include <linux/soundcard.h>
 #elif defined(HAVE_FREEBSD) && defined(HAVE_MACHINE_SOUNDCARD_H)
   #include <machine/soundcard.h>
+#elif defined(HAVE_FREEBSD) && defined(HAVE_SYS_SOUNDCARD_H)
+  #include <sys/soundcard.h>
 #elif defined(HAVE_NETBSD) && defined(HAVE_SOUNDCARD_H)
   #include <soundcard.h>
 #else

Index: ports/audio/sidplay/files/patch-configure
--- configure.orig	Mon Mar 11 02:42:18 2002
+++ configure	Thu Jul 25 19:37:08 2002
@@ -1416,7 +1416,7 @@
 fi
 done
 
-for ac_hdr in sys/ioctl.h linux/soundcard.h machine/soundcard.h  \
+for ac_hdr in sys/ioctl.h linux/soundcard.h machine/soundcard.h sys/soundcard.h \
   soundcard.h sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h  \
   audio.h dmedia/audio.h
 do
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: naddy 
State-Changed-When: Tue Jul 30 05:37:27 PDT 2002 
State-Changed-Why:  
Committed, thanks! 

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