diff options
Diffstat (limited to 'audio/mpg123/patches')
-rw-r--r-- | audio/mpg123/patches/patch-ac | 12 | ||||
-rw-r--r-- | audio/mpg123/patches/patch-af | 19 |
2 files changed, 25 insertions, 6 deletions
diff --git a/audio/mpg123/patches/patch-ac b/audio/mpg123/patches/patch-ac index b10249a0947..1de9841f242 100644 --- a/audio/mpg123/patches/patch-ac +++ b/audio/mpg123/patches/patch-ac @@ -1,17 +1,17 @@ -$NetBSD: patch-ac,v 1.1 1998/08/15 10:58:41 frueauf Exp $ +$NetBSD: patch-ac,v 1.2 1999/04/08 07:34:57 tron Exp $ ---- audio_sun.c.orig Mon Jan 5 12:41:31 1998 -+++ audio_sun.c Sat Aug 15 12:15:25 1998 +--- audio_sun.c.orig Mon Jan 11 07:54:46 1999 ++++ audio_sun.c Wed Apr 7 16:12:21 1999 @@ -17,6 +17,8 @@ #include "mpg123.h" +extern int outburst; + + #ifndef SPARCLINUX #include <sys/filio.h> #ifdef SUNOS - #include <sun/audioio.h> -@@ -74,6 +76,13 @@ +@@ -78,6 +80,13 @@ } #ifndef NETBSD @@ -24,4 +24,4 @@ $NetBSD: patch-ac,v 1.1 1998/08/15 10:58:41 frueauf Exp $ + AUDIO_INITINFO(&ainfo); - switch(ai->output) { + if(ai->output > 0) diff --git a/audio/mpg123/patches/patch-af b/audio/mpg123/patches/patch-af new file mode 100644 index 00000000000..e0beaa74d3b --- /dev/null +++ b/audio/mpg123/patches/patch-af @@ -0,0 +1,19 @@ +$NetBSD: patch-af,v 1.1 1999/04/08 07:35:56 tron Exp $ + +--- audio.c.orig Mon Nov 23 08:16:24 1998 ++++ audio.c Wed Apr 7 16:23:29 1999 +@@ -81,10 +81,14 @@ + k1 = NUM_RATES; + } + ++#ifndef NETBSD + if(audio_open(&ai1) < 0) { + perror("audio"); + exit(1); + } ++#else ++ audio_open(&ai1); ++#endif + + for(i=0;i<NUM_CHANNELS;i++) { + for(j=0;j<NUM_RATES;j++) { |