summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-04-08 07:34:56 +0000
committertron <tron@pkgsrc.org>1999-04-08 07:34:56 +0000
commit2c54803b695d91f24b635f69e87497e480102537 (patch)
tree346d85980f0007323fbdd22c1d1dd11e7e29342a /audio
parentf10c1427ee97dc7d0ca75f5586338cb195c2a752 (diff)
downloadpkgsrc-2c54803b695d91f24b635f69e87497e480102537.tar.gz
Update "mpg123" to version 0.59q. Patches supplied by Jeff Rizzo in
PR pkg/7338.
Diffstat (limited to 'audio')
-rw-r--r--audio/mpg123/Makefile4
-rw-r--r--audio/mpg123/files/md54
-rw-r--r--audio/mpg123/patches/patch-ac12
-rw-r--r--audio/mpg123/patches/patch-af19
4 files changed, 29 insertions, 10 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 7f8e9f22e63..e5067142297 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 1999/02/15 23:57:50 is Exp $
+# $NetBSD: Makefile,v 1.12 1999/04/08 07:34:56 tron Exp $
#
-DISTNAME= mpg123-0.59o
+DISTNAME= mpg123-0.59q
CATEGORIES= audio
MASTER_SITES= http://ftp.tu-clausthal.de/pub/unix/audio/mpg123/
diff --git a/audio/mpg123/files/md5 b/audio/mpg123/files/md5
index 43137805937..72733ad9596 100644
--- a/audio/mpg123/files/md5
+++ b/audio/mpg123/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.4 1998/08/07 13:16:54 agc Exp $
+$NetBSD: md5,v 1.5 1999/04/08 07:34:56 tron Exp $
-MD5 (mpg123-0.59o.tar.gz) = 5e2788f33e1cb5347a13ae39de6bd8e0
+MD5 (mpg123-0.59q.tar.gz) = 004b50277781704142964a728687224e
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++) {