Date: Tue, 4 Jun 2002 16:09:14 -0400 (EDT) From: Trish Lynch <trish@bsdunix.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: trish@bsdunix.net Subject: ports/38907: audio/gsi FreeBSD -CURRENT soundcard.h fix (MAINTAINER == ports) Message-ID: <200206042009.g54K9EIZ009520@femme.listmistress.org>
next in thread | raw e-mail | index | archive | help
>Number: 38907 >Category: ports >Synopsis: audio/gsi FreeBSD -CURRENT soundcard.h fix (MAINTAINER == ports) >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jun 04 13:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Trish Lynch >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD femme.listmistress.org 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Tue Jun 4 07:06:15 EDT 2002 trish@femme.listmistress.org:/admins/obj/admins/src/sys/FEMME i386 >Description: audio/gsi port expects soundcard.h in <machine/soundcard.h> >How-To-Repeat: build audio/gsi on recent -current machine after symlink removed >Fix: apply patch at http://www.bsdunix.net/ports/audio-gsi-port.diff diff -ruN gsi.old/files/patch-aw gsi/files/patch-aw --- gsi.old/files/patch-aw Wed Dec 31 19:00:00 1969 +++ gsi/files/patch-aw Tue Jun 4 15:53:20 2002 @@ -0,0 +1,14 @@ +--- lib/gsipcm/gsipcm.c.old Tue Jun 4 15:49:21 2002 ++++ lib/gsipcm/gsipcm.c Tue Jun 4 15:50:34 2002 +@@ -53,7 +53,11 @@ + #include "api.h" + + #if USE_FBSD /* For debug code */ ++#if __FreeBSD__ <=4 + #include <machine/soundcard.h> ++#else ++#include <sys/soundcard.h> ++#endif + #endif + + /*__________________DEFINITIES___________________*/ diff -ruN gsi.old/files/patch-ax gsi/files/patch-ax --- gsi.old/files/patch-ax Wed Dec 31 19:00:00 1969 +++ gsi/files/patch-ax Tue Jun 4 15:53:54 2002 @@ -0,0 +1,14 @@ +--- lib/gsipcm/api/pcm_fbsd.c.old Tue Jun 4 15:49:48 2002 ++++ lib/gsipcm/api/pcm_fbsd.c Tue Jun 4 15:39:53 2002 +@@ -33,7 +33,11 @@ + + + #if USE_FBSD ++#if __FreeBSD__ <= 4 + #include <machine/soundcard.h> ++#else ++#include <sys/soundcard.h> ++#endif + + /*---------------------------------------------------------------------------* + * setup_pcm (fbsd): diff -ruN gsi.old/files/patch-ay gsi/files/patch-ay --- gsi.old/files/patch-ay Wed Dec 31 19:00:00 1969 +++ gsi/files/patch-ay Tue Jun 4 15:59:22 2002 @@ -0,0 +1,14 @@ +--- lib/gsimixer/api/mixer_fbsd.c.old Tue Feb 1 19:36:10 2000 ++++ lib/gsimixer/api/mixer_fbsd.c Tue Jun 4 15:59:04 2002 +@@ -34,7 +34,11 @@ + * fbsd-pcm volumes are 0-100. + *---------------------------------------------------------------------------* / + #if USE_FBSD ++#if __FreeBSD__ <= 4 + #include <machine/soundcard.h> ++#else ++#include <sys/soundcard.h> ++#endif + + #include <stdio.h> + >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?200206042009.g54K9EIZ009520>