Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 22:56:51 -0700 (PDT)
From:      Alex Varju <varju@webct.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41148: fix ports/audio/sidplay build on current
Message-ID:  <200207300556.g6U5upMq099952@snapple.webct.com>

next in thread | raw e-mail | index | archive | help

>Number:         41148
>Category:       ports
>Synopsis:       fix ports/audio/sidplay build on current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 29 23:00:03 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>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?200207300556.g6U5upMq099952>