summaryrefslogtreecommitdiff
path: root/audio/mad
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-10-20 14:53:29 +0000
committerwiz <wiz@pkgsrc.org>2001-10-20 14:53:29 +0000
commitee9546fe7235104b8122dfc32e6e75030f9bebe1 (patch)
tree7f83fed93d38816324cea772efd4b6fdc4cc3b77 /audio/mad
parent783b4399f54e2ed638e3e561a6fb560d14dc053d (diff)
downloadpkgsrc-ee9546fe7235104b8122dfc32e6e75030f9bebe1.tar.gz
Update to 0.14.0b. Changes since 0.13.0b:
* Added a new ID3 tag manipulation library (libid3). * Fixed a possible segmentation fault due to mmap() abuse. * Added a 64-bit FPM negation operation to improve performance of subband synthesis on some platforms. * Added rounding to Layer III requantization for slightly better accuracy * Modified the PCM dithering routine for better dithered output. * Added TTY controls and new --tty-control and --no-tty-control options to `madplay'. TTY control keys: `P' pause, `S' stop, `Q' quit, `F' forward, `B' backward. [We already had patches for that in pkgsrc] * New time/time-remaining modes with --verbose --tty-control (select by pressing `T'.)
Diffstat (limited to 'audio/mad')
-rw-r--r--audio/mad/Makefile7
-rw-r--r--audio/mad/distinfo11
-rw-r--r--audio/mad/patches/patch-aa6
-rw-r--r--audio/mad/patches/patch-ab24
4 files changed, 34 insertions, 14 deletions
diff --git a/audio/mad/Makefile b/audio/mad/Makefile
index 0984f08537c..017a398611c 100644
--- a/audio/mad/Makefile
+++ b/audio/mad/Makefile
@@ -1,14 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2001/09/27 23:17:45 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2001/10/20 14:53:29 wiz Exp $
#
-DISTNAME= mad-0.13.0b
+DISTNAME= mad-0.14.0b
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mad/} \
ftp://ftp.mars.org/pub/mpeg/
-PATCH_SITES= ftp://ftp.mars.org/pub/mpeg/testing/
-PATCHFILES= tty-0.13.0b.patch
-
MAINTAINER= simonb@netbsd.org
HOMEPAGE= http://sourceforge.net/projects/mad/
COMMENT= High-quality MPEG audio decoder
diff --git a/audio/mad/distinfo b/audio/mad/distinfo
index 78cee7b5fdc..d75a0034dcd 100644
--- a/audio/mad/distinfo
+++ b/audio/mad/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/04/19 10:26:20 wiz Exp $
+$NetBSD: distinfo,v 1.2 2001/10/20 14:53:29 wiz Exp $
-SHA1 (mad-0.13.0b.tar.gz) = f0f64ee35e9ed013b78b7903d752ac5d57d6011c
-Size (mad-0.13.0b.tar.gz) = 552379 bytes
-SHA1 (tty-0.13.0b.patch) = a1d7f7e5e3ac5df6e7cfbf954bfebd280f671023
-Size (tty-0.13.0b.patch) = 22572 bytes
-SHA1 (patch-aa) = 3bf70a97e7adbc7cffd457bb93bfdd68b94aeeeb
+SHA1 (mad-0.14.0b.tar.gz) = ecf2658e963b9a1c89aafc089f6659c3cdb858b6
+Size (mad-0.14.0b.tar.gz) = 703852 bytes
+SHA1 (patch-aa) = 3d5744dac1a5ee499aaaafa1dd0696d960bc0180
+SHA1 (patch-ab) = c573fdb2d0353352db40be773d8e5292fc1d26b3
diff --git a/audio/mad/patches/patch-aa b/audio/mad/patches/patch-aa
index bd6ba3bd039..2d887c0e164 100644
--- a/audio/mad/patches/patch-aa
+++ b/audio/mad/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/04/19 10:26:20 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2001/10/20 14:53:29 wiz Exp $
---- libmad/Makefile.in.orig Mon Dec 4 17:38:24 2000
+--- libmad/Makefile.in.orig Fri Oct 19 01:47:47 2001
+++ libmad/Makefile.in
-@@ -110,7 +110,7 @@
+@@ -108,7 +108,7 @@
# The API for MAD is not yet stable enough to use versioning, so we use
# release numbering instead.
diff --git a/audio/mad/patches/patch-ab b/audio/mad/patches/patch-ab
new file mode 100644
index 00000000000..c03870bef2b
--- /dev/null
+++ b/audio/mad/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1 2001/10/20 14:53:29 wiz Exp $
+
+--- audio_sun.c.orig Fri Oct 19 00:36:54 2001
++++ audio_sun.c
+@@ -32,8 +32,10 @@
+ # include <string.h>
+ # include <errno.h>
+ # include <sys/types.h>
++#ifndef __NetBSD__
+ # include <stropts.h>
+ # include <sys/conf.h>
++#endif
+
+ # include "mad.h"
+ # include "audio.h"
+@@ -159,7 +161,7 @@
+ result = set_pause(1);
+
+ if (stop->flush &&
+- ioctl(sfd, I_FLUSH, FLUSHW) == -1 && result == 0) {
++ ioctl(sfd, AUDIO_FLUSH, NULL) == -1 && result == 0) {
+ audio_error = ":ioctl(I_FLUSH)";
+ result = -1;
+ }