summaryrefslogtreecommitdiff
path: root/audio/xmcd
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-01-08 09:55:04 +0000
committertron <tron@pkgsrc.org>2002-01-08 09:55:04 +0000
commit480163b87cc8cd2fb0ddf113b151e00b1230680e (patch)
tree3b4be15e19999436307cac23bc17314624a42a65 /audio/xmcd
parentdf640d24b7595dbf0c4ed0ea84362327a27b6349 (diff)
downloadpkgsrc-480163b87cc8cd2fb0ddf113b151e00b1230680e.tar.gz
Correct device name for ATAPI CD-ROMs under NetBSD.
Diffstat (limited to 'audio/xmcd')
-rw-r--r--audio/xmcd/patches/patch-af22
1 files changed, 18 insertions, 4 deletions
diff --git a/audio/xmcd/patches/patch-af b/audio/xmcd/patches/patch-af
index 4a820a80168..c425f550fe7 100644
--- a/audio/xmcd/patches/patch-af
+++ b/audio/xmcd/patches/patch-af
@@ -1,8 +1,22 @@
-$NetBSD: patch-af,v 1.2 2001/07/24 16:00:02 nra Exp $
+$NetBSD: patch-af,v 1.3 2002/01/08 09:55:04 tron Exp $
---- libdi_d/config.sh.orig Mon Jul 23 13:52:09 2001
-+++ libdi_d/config.sh Mon Jul 23 13:52:36 2001
-@@ -2001,7 +2001,7 @@
+--- libdi_d/config.sh.orig Mon Jul 16 19:52:02 2001
++++ libdi_d/config.sh Tue Jan 8 10:39:13 2002
+@@ -1287,12 +1287,7 @@
+ elif [ "$OS_SYS" = NetBSD ] || [ "$OS_SYS" = OpenBSD ]
+ then
+ # NetBSD/OpenBSD
+- if [ "$IS_SCSI" -eq 1 ]
+- then
+- DEVPREF=/dev/rcd
+- else
+- DEVPREF=/dev/rwcd
+- fi
++ DEVPREF=/dev/rcd
+ case "$OS_MACH" in
+ *86)
+ DEVSUFF=d
+@@ -2001,7 +1996,7 @@
# Get platform information
OS_SYS=`(uname -s) 2>/dev/null`
OS_REL=`(uname -r) 2>/dev/null`