Subject: pkg/7338: audio/mpg123 package should be updated to mpeg123-0.59q
To: None <gnats-bugs@gnats.netbsd.org>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: netbsd-bugs
Date: 04/07/1999 17:03:57
>Number: 7338
>Category: pkg
>Synopsis: audio/mpg123 package should be updated to mpeg123-0.59q
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Apr 7 17:05:00 1999
>Last-Modified:
>Originator: Jeff Rizzo
>Organization:
Jeff Rizzo http://boogers.sf.ca.us/~riz
>Release: 1.4_ALPHA
>Environment:
System: NetBSD peto.corp.equinix.com 1.4_ALPHA NetBSD 1.4_ALPHA (PETO) #7: Tue Apr 6 10:27:33 PDT 1999 riz@peto.corp.equinix.com:/usr/src/sys/arch/i386/compile/PETO i386
>Description:
mpg123-0.59q plays the output of some newer encoders (most notably
Audio Catalyst) much better, and the pkgsrc should use that version.
>How-To-Repeat:
Try playing MP3 files encoded with Audio Catalyst with mpg123-0.59o
>Fix:
Apply the following patch in /usr/pkgsrc/audio/mpg123 :
--- Makefile.orig Wed Apr 7 11:35:53 1999
+++ Makefile Wed Apr 7 16:45:45 1999
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.11 1999/02/15 23:57:50 is Exp $
#
-DISTNAME= mpg123-0.59o
+DISTNAME= mpg123-0.59q
CATEGORIES= audio
MASTER_SITES= http://ftp.tu-clausthal.de/pub/unix/audio/mpg123/
--- files/md5.orig Sat Aug 8 04:27:35 1998
+++ files/md5 Wed Apr 7 16:46:01 1999
@@ -1,3 +1,3 @@
$NetBSD: md5,v 1.4 1998/08/07 13:16:54 agc Exp $
-MD5 (mpg123-0.59o.tar.gz) = 5e2788f33e1cb5347a13ae39de6bd8e0
+MD5 (mpg123-0.59q.tar.gz) = 004b50277781704142964a728687224e
--- patches/patch-ac.orig Sat Aug 15 04:24:30 1998
+++ patches/patch-ac Wed Apr 7 16:47:40 1999
@@ -1,17 +1,17 @@
-$NetBSD: patch-ac,v 1.1 1998/08/15 10:58:41 frueauf Exp $
+$NetBSD$
---- 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 @@
+
AUDIO_INITINFO(&ainfo);
- switch(ai->output) {
+ if(ai->output > 0)
--- /dev/null Wed Apr 7 15:26:51 1999
+++ patches/patch-af Wed Apr 7 16:49:48 1999
@@ -0,0 +1,19 @@
+$NetBSD$
+
+--- 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++) {
>Audit-Trail:
>Unformatted: