example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
35 lines
787 B
Text
35 lines
787 B
Text
$NetBSD: patch-ad,v 1.5 2005/12/05 20:50:16 rillig Exp $
|
|
|
|
--- sound.c.orig 2001-11-11 23:05:37.000000000 -0800
|
|
+++ sound.c
|
|
@@ -57,6 +57,12 @@
|
|
# include <machine/soundcard.h>
|
|
#endif
|
|
|
|
+#ifdef __NetBSD__
|
|
+# define USE_DSP
|
|
+# include <sys/ioctl.h>
|
|
+# include <soundcard.h>
|
|
+#endif
|
|
+
|
|
#ifndef DEV_SOUND
|
|
# define DEV_SOUND "/dev/audio"
|
|
#endif
|
|
@@ -235,7 +241,7 @@ void play_sync(fd)
|
|
{
|
|
if (sound_debug >= 2)
|
|
fputs("sync", stderr);
|
|
- ioctl(fd, SNDCTL_DSP_SYNC);
|
|
+ ioctl(fd, SNDCTL_DSP_SYNC, 0);
|
|
if (sound_debug >= 2)
|
|
fputs(" ", stderr);
|
|
}
|
|
@@ -464,7 +470,7 @@ void decide_midi_player()
|
|
char *midilist[] = {
|
|
"/usr/bin/midiplay", "",
|
|
"/usr/bin/playmidi", "",
|
|
- "/usr/local/bin/timidity", "-idq",
|
|
+ "XXXPREFIXXXX/bin/timidity", "-idq",
|
|
NULL
|
|
};
|
|
|