summaryrefslogtreecommitdiff
path: root/audio/abcde/patches/patch-ac
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-07-12 15:25:53 +0000
committerwiz <wiz@pkgsrc.org>2003-07-12 15:25:53 +0000
commita9715c10a49be36239f05381aa756cb8eefb60dd (patch)
tree2f0907c32ddb35ab94eec41b6fdd0f2bca2d3dab /audio/abcde/patches/patch-ac
parente92457b17af5059ba086532622522991164bf4a5 (diff)
downloadpkgsrc-a9715c10a49be36239f05381aa756cb8eefb60dd.tar.gz
abcde ignored -d flag when in cdparanoia mode.
From Sergey Svishchev in PR 19872. Bump PKGREVISION.
Diffstat (limited to 'audio/abcde/patches/patch-ac')
-rw-r--r--audio/abcde/patches/patch-ac22
1 files changed, 15 insertions, 7 deletions
diff --git a/audio/abcde/patches/patch-ac b/audio/abcde/patches/patch-ac
index dfa7ae137e0..811a1f8a1ad 100644
--- a/audio/abcde/patches/patch-ac
+++ b/audio/abcde/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.12 2003/06/10 12:59:47 wiz Exp $
+$NetBSD: patch-ac,v 1.13 2003/07/12 15:25:55 wiz Exp $
---- abcde.orig 2003-05-25 12:37:53.000000000 +0200
-+++ abcde 2003-05-25 12:40:44.000000000 +0200
-@@ -1233,8 +1233,8 @@
+--- abcde.orig Sun May 18 23:01:13 2003
++++ abcde
+@@ -1233,8 +1233,8 @@ if [ -z "$WAVOUTPUTDIR" ]; then
fi
# Load system defaults
@@ -13,7 +13,7 @@ $NetBSD: patch-ac,v 1.12 2003/06/10 12:59:47 wiz Exp $
fi
# Load user preference defaults
if [ -r $HOME/.abcde.conf ]; then
-@@ -1260,8 +1260,9 @@
+@@ -1260,8 +1260,8 @@ else
elif [ -e /dev/acd0c ]; then
CDROM=/dev/acd0c
else
@@ -21,7 +21,15 @@ $NetBSD: patch-ac,v 1.12 2003/06/10 12:59:47 wiz Exp $
- exit 1
+ RAWPART=`sysctl -n kern.rawpartition | awk '{printf "%c",97+$0}'`
+ CDROM=/dev/rcd0$RAWPART
-+ CDPARANOIAOPTS="-g ${CDROM}"
fi
fi
-
+
+@@ -1308,7 +1308,7 @@ done
+ case "$CDROMREADERSYNTAX" in
+ cdparanoia|debug)
+ CDROMREADER="$CDPARANOIA"
+- CDROMREADEROPTS="$CDPARANOIAOPTS"
++ CDROMREADEROPTS="$CDPARANOIAOPTS -g ${CDROM}"
+ ;;
+ cdda2wav)
+ CDROMREADER="$CDDA2WAV"