diff options
author | dillo <dillo@pkgsrc.org> | 2003-03-22 05:44:37 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2003-03-22 05:44:37 +0000 |
commit | dae098a00b4da48fb6005d267411e4e9c04ffe02 (patch) | |
tree | 7e4480d2714e84c9cf5fbd6c274de23971fa0cd0 /audio/amp | |
parent | edd291a2c39ecb5db39731a77729611f17350112 (diff) | |
download | pkgsrc-dae098a00b4da48fb6005d267411e4e9c04ffe02.tar.gz |
open /dev/auiod OWRONLY, as requested in PR 19332 by Ben Wong
bump pkgrevision
while here, one patch per file
Diffstat (limited to 'audio/amp')
-rw-r--r-- | audio/amp/Makefile | 3 | ||||
-rw-r--r-- | audio/amp/distinfo | 8 | ||||
-rw-r--r-- | audio/amp/patches/patch-aa | 13 | ||||
-rw-r--r-- | audio/amp/patches/patch-ab | 12 | ||||
-rw-r--r-- | audio/amp/patches/patch-ac | 57 | ||||
-rw-r--r-- | audio/amp/patches/patch-ae | 13 | ||||
-rw-r--r-- | audio/amp/patches/patch-af | 13 |
7 files changed, 69 insertions, 50 deletions
diff --git a/audio/amp/Makefile b/audio/amp/Makefile index caffbded88f..d39ea130233 100644 --- a/audio/amp/Makefile +++ b/audio/amp/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2002/08/28 08:38:01 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2003/03/22 05:44:37 dillo Exp $ # DISTNAME= amp-0.7.6 +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_LOCAL} # was ftp://ftp.rasip.fer.hr/pub/mpeg/ diff --git a/audio/amp/distinfo b/audio/amp/distinfo index 91880113f70..e74425c570e 100644 --- a/audio/amp/distinfo +++ b/audio/amp/distinfo @@ -1,6 +1,10 @@ -$NetBSD: distinfo,v 1.2 2001/04/18 13:04:18 agc Exp $ +$NetBSD: distinfo,v 1.3 2003/03/22 05:44:37 dillo Exp $ SHA1 (amp-0.7.6.tgz) = 6c49d027754615677ad398c1eea858536ec804c2 Size (amp-0.7.6.tgz) = 100337 bytes -SHA1 (patch-ac) = 8da28d59a2e7b417f42c4dea0c65e80b187434ed +SHA1 (patch-aa) = e62709809b7b51b046b94bbf80dba27faa2257d9 +SHA1 (patch-ab) = 9f14872524bb4f451e5cd8c5cc5d48f74c38c2f2 +SHA1 (patch-ac) = 9d63992ce148b978b2a6b5179d97e23154e18833 SHA1 (patch-ad) = 6ca0a1d150d0c67ccea109b2adc7c38099ccd6f9 +SHA1 (patch-ae) = c084fa45bc144c29ed7548ffc609fb964d375ac8 +SHA1 (patch-af) = d0f8561557277d6674cb956dca42b793cb63ae2c diff --git a/audio/amp/patches/patch-aa b/audio/amp/patches/patch-aa new file mode 100644 index 00000000000..31ba9573330 --- /dev/null +++ b/audio/amp/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2003/03/22 05:44:37 dillo Exp $ + +--- audioIO.c.old Sun Oct 26 10:55:27 1997 ++++ audioIO.c Sun Oct 26 10:56:03 1997 +@@ -18,7 +18,7 @@ + #include "audioIO_HPUX.c" + #endif + +-#ifdef OS_SunOS ++#if defined(OS_SunOS) || defined(OS_NetBSD) + #include "audioIO_SunOS.c" + #endif + diff --git a/audio/amp/patches/patch-ab b/audio/amp/patches/patch-ab new file mode 100644 index 00000000000..4ec8fa71d88 --- /dev/null +++ b/audio/amp/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.3 2003/03/22 05:44:38 dillo Exp $ + +--- audioIO.h.old Sun Oct 26 10:57:10 1997 ++++ audioIO.h Fri Oct 31 06:43:07 1997 +@@ -27,3 +27,7 @@ + #ifdef OS_SunOS + #define AUSIZ 4096 + #endif ++ ++#ifdef OS_NetBSD ++ #define AUSIZ 32768 ++#endif diff --git a/audio/amp/patches/patch-ac b/audio/amp/patches/patch-ac index 7d9e7a2dde0..583d15801ca 100644 --- a/audio/amp/patches/patch-ac +++ b/audio/amp/patches/patch-ac @@ -1,28 +1,7 @@ -$NetBSD: patch-ac,v 1.4 1998/08/07 10:35:53 agc Exp $ +$NetBSD: patch-ac,v 1.5 2003/03/22 05:44:38 dillo Exp $ ---- audioIO.c.old Sun Oct 26 10:55:27 1997 -+++ audioIO.c Sun Oct 26 10:56:03 1997 -@@ -18,7 +18,7 @@ - #include "audioIO_HPUX.c" - #endif - --#ifdef OS_SunOS -+#if defined(OS_SunOS) || defined(OS_NetBSD) - #include "audioIO_SunOS.c" - #endif - ---- audioIO.h.old Sun Oct 26 10:57:10 1997 -+++ audioIO.h Fri Oct 31 06:43:07 1997 -@@ -27,3 +27,7 @@ - #ifdef OS_SunOS - #define AUSIZ 4096 - #endif -+ -+#ifdef OS_NetBSD -+ #define AUSIZ 32768 -+#endif ---- audioIO_SunOS.c.old Sun Oct 26 10:58:36 1997 -+++ audioIO_SunOS.c Sun Oct 26 11:13:51 1997 +--- audioIO_SunOS.c.orig Sat May 31 13:47:58 1997 ++++ audioIO_SunOS.c @@ -8,7 +8,11 @@ #include "amp.h" @@ -35,7 +14,13 @@ $NetBSD: patch-ac,v 1.4 1998/08/07 10:35:53 agc Exp $ #include <fcntl.h> #include <unistd.h> #include <stdio.h> -@@ -36,8 +40,7 @@ +@@ -31,13 +35,12 @@ audioOpen(int frequency, int stereo, int + { + int res; + +- if ((audio_fd = open("/dev/audio",O_RDWR))==-1) { ++ if ((audio_fd = open("/dev/audio",O_WRONLY))==-1) { + die(" unable to open the audio device\n"); } DB(audio, msg("Audio device opened on %d\n",audio_fd) ); @@ -45,25 +30,3 @@ $NetBSD: patch-ac,v 1.4 1998/08/07 10:35:53 agc Exp $ auinfo.play.precision=16; auinfo.play.encoding=AUDIO_ENCODING_LINEAR; ---- configure.in.old Sun Oct 26 10:53:03 1997 -+++ configure.in Sun Oct 26 10:54:32 1997 -@@ -58,7 +58,7 @@ - DEFINES="-DOS_$OS_TYPE -DARCH_$ARCH_TYPE" - ;; - -- Linux|FreeBSD) -+ Linux|FreeBSD|NetBSD) - CC="gcc" - if test "$ARCH_TYPE" = "i486" ; then - CFLAGS_ARCH="-m486" ---- configure.old Sun Oct 26 11:18:18 1997 -+++ configure Sun Oct 26 11:18:45 1997 -@@ -1398,7 +1398,7 @@ - DEFINES="-DOS_$OS_TYPE -DARCH_$ARCH_TYPE" - ;; - -- Linux|FreeBSD) -+ Linux|FreeBSD|NetBSD) - CC="gcc" - if test "$ARCH_TYPE" = "i486" ; then - CFLAGS_ARCH="-m486" diff --git a/audio/amp/patches/patch-ae b/audio/amp/patches/patch-ae new file mode 100644 index 00000000000..df070e4a1c0 --- /dev/null +++ b/audio/amp/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2003/03/22 05:44:38 dillo Exp $ + +--- configure.in.old Sun Oct 26 10:53:03 1997 ++++ configure.in Sun Oct 26 10:54:32 1997 +@@ -58,7 +58,7 @@ + DEFINES="-DOS_$OS_TYPE -DARCH_$ARCH_TYPE" + ;; + +- Linux|FreeBSD) ++ Linux|FreeBSD|NetBSD) + CC="gcc" + if test "$ARCH_TYPE" = "i486" ; then + CFLAGS_ARCH="-m486" diff --git a/audio/amp/patches/patch-af b/audio/amp/patches/patch-af new file mode 100644 index 00000000000..485fe8be4c5 --- /dev/null +++ b/audio/amp/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2003/03/22 05:44:38 dillo Exp $ + +--- configure.old Sun Oct 26 11:18:18 1997 ++++ configure Sun Oct 26 11:18:45 1997 +@@ -1398,7 +1398,7 @@ + DEFINES="-DOS_$OS_TYPE -DARCH_$ARCH_TYPE" + ;; + +- Linux|FreeBSD) ++ Linux|FreeBSD|NetBSD) + CC="gcc" + if test "$ARCH_TYPE" = "i486" ; then + CFLAGS_ARCH="-m486" |