summaryrefslogtreecommitdiff
path: root/audio/xmcd
diff options
context:
space:
mode:
authortron <tron>2002-01-08 09:55:04 +0000
committertron <tron>2002-01-08 09:55:04 +0000
commit4f4a0977c645f836d77f088b32c9d5cb8dc32f63 (patch)
tree3b4be15e19999436307cac23bc17314624a42a65 /audio/xmcd
parent5fa15339d2f043b219d84a36f1ef02ef7ca38ee7 (diff)
downloadpkgsrc-4f4a0977c645f836d77f088b32c9d5cb8dc32f63.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`