diff options
author | augustss <augustss> | 1998-02-09 22:42:15 +0000 |
---|---|---|
committer | augustss <augustss> | 1998-02-09 22:42:15 +0000 |
commit | 354036500128b90d270c232f71b6db572c5f6e89 (patch) | |
tree | 443cded3e058c3cf3a7fd373c08be64e7dbcb1cd /audio | |
parent | fede4c2831303fa1123c1a2a32f914bb2d957eaa (diff) | |
download | pkgsrc-354036500128b90d270c232f71b6db572c5f6e89.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]; |