diff options
author | augustss <augustss@pkgsrc.org> | 1998-02-09 22:42:15 +0000 |
---|---|---|
committer | augustss <augustss@pkgsrc.org> | 1998-02-09 22:42:15 +0000 |
commit | b2f169dd430585307342e52b07575bec0ccd3412 (patch) | |
tree | 443cded3e058c3cf3a7fd373c08be64e7dbcb1cd /audio | |
parent | 195a326cfa40eafebc9f176dad6c4e3f74211167 (diff) | |
download | pkgsrc-b2f169dd430585307342e52b07575bec0ccd3412.tar.gz |
Another working CD player.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 4 | ||||
-rw-r--r-- | audio/xcdplayer/files/cdrom_freebsd.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/audio/Makefile b/audio/Makefile index 1ddbaee5e1c..10c0f1e6942 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 1998/02/09 22:28:42 augustss Exp $ +# $NetBSD: Makefile,v 1.14 1998/02/09 22:42:15 augustss Exp $ # SUBDIR += amp @@ -16,7 +16,7 @@ SUBDIR += tosha SUBDIR += tracker SUBDIR += xcd - #SUBDIR += xcdplayer + SUBDIR += xcdplayer SUBDIR += xmcd SUBDIR += xmix SUBDIR += xmmix diff --git a/audio/xcdplayer/files/cdrom_freebsd.c b/audio/xcdplayer/files/cdrom_freebsd.c index 6d164612a4d..0893b291c1c 100644 --- a/audio/xcdplayer/files/cdrom_freebsd.c +++ b/audio/xcdplayer/files/cdrom_freebsd.c @@ -32,8 +32,13 @@ static int c; # include "cdrom_freebsd.h" extern char *device; +#ifdef __NetBSD__ +static char cdrom[] = "/dev/rcd0d"; +static char cdrom1[] = "/dev/rmcd0d"; +#else static char cdrom[] = "/dev/rcd0c"; static char cdrom1[] = "/dev/rmcd0c"; +#endif cdrom_info cdi; char info_filename[256]; |