aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-06-07 08:06:25 +0800
committerpetef <petef@FreeBSD.org>2002-06-07 08:06:25 +0800
commit1c8c790e465421696f1104451d3c813010e442f7 (patch)
treedfa381210c342afa9489fada45df0cc712730111 /audio
parentc46bd0703b0cf682d9df01ae35fd5ab9b1bac06b (diff)
downloadfreebsd-ports-graphics-1c8c790e465421696f1104451d3c813010e442f7.tar.gz
freebsd-ports-graphics-1c8c790e465421696f1104451d3c813010e442f7.tar.zst
freebsd-ports-graphics-1c8c790e465421696f1104451d3c813010e442f7.zip
machine/soundcard.h -> sys/soundcard.h
PR: 38907 Submitted by: Trish Lynch <trish@bsdunix.net>
Diffstat (limited to 'audio')
-rw-r--r--audio/gsi/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/gsi/Makefile b/audio/gsi/Makefile
index cc3f20855ec..9b100a499e9 100644
--- a/audio/gsi/Makefile
+++ b/audio/gsi/Makefile
@@ -26,6 +26,17 @@ MAN5= gsi.conf.5
MAN7= gsi_overview.7
MAN8= gsi_server.8
+post-patch:
+.for file in lib/gsimixer/api/mixer_oss.c lib/gsimixer/api/mixer_fbsd.c \
+ lib/gsipcm/api/pcm_oss.c lib/gsipcm/gsipcm.c \
+ lib/gsipcm/api/pcm_fbsd.c lib/gsisynth/api/synth_oss_gus.c \
+ lib/gsisynth/api/synth_oss_opl.c lib/gsisynth/api/synth_oss.c \
+ lib/gsisynth/api/midi_control_oss.c
+ @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
+ ${WRKSRC}/${file} > ${WRKSRC}/${file}.new
+ @${MV} ${WRKSRC}/${file}.new ${WRKSRC}/${file}
+.endfor
+
pre-configure:
@${SH} ${FILESDIR}/configure.sh ${PREFIX} ${WRKSRC}