summaryrefslogtreecommitdiff
path: root/audio/mpg123/patches
diff options
context:
space:
mode:
authortron <tron>1999-04-08 07:34:56 +0000
committertron <tron>1999-04-08 07:34:56 +0000
commit53c3343aa226a35dcb38e5f6f90f2423fd80c3ab (patch)
tree346d85980f0007323fbdd22c1d1dd11e7e29342a /audio/mpg123/patches
parent63fac5e4743442554cc6697e65bf843d8583dc3d (diff)
downloadpkgsrc-53c3343aa226a35dcb38e5f6f90f2423fd80c3ab.tar.gz
Update "mpg123" to version 0.59q. Patches supplied by Jeff Rizzo in
PR pkg/7338.
Diffstat (limited to 'audio/mpg123/patches')
-rw-r--r--audio/mpg123/patches/patch-ac12
-rw-r--r--audio/mpg123/patches/patch-af19
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++) {