diff options
author | augustss <augustss@pkgsrc.org> | 1998-02-09 22:28:42 +0000 |
---|---|---|
committer | augustss <augustss@pkgsrc.org> | 1998-02-09 22:28:42 +0000 |
commit | 195a326cfa40eafebc9f176dad6c4e3f74211167 (patch) | |
tree | 0a5ef85dda303c2d799764794e31ab26ca0757c4 /audio | |
parent | 6833d0e69d86e588ccb04c1a66ed26cdf52b2df5 (diff) | |
download | pkgsrc-195a326cfa40eafebc9f176dad6c4e3f74211167.tar.gz |
NetBSD port of this CD player.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 4 | ||||
-rw-r--r-- | audio/xcd/patches/patch-aa | 49 |
2 files changed, 51 insertions, 2 deletions
diff --git a/audio/Makefile b/audio/Makefile index 70572a49fc1..1ddbaee5e1c 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1998/02/09 20:02:24 augustss Exp $ +# $NetBSD: Makefile,v 1.13 1998/02/09 22:28:42 augustss Exp $ # SUBDIR += amp @@ -15,7 +15,7 @@ SUBDIR += timidity SUBDIR += tosha SUBDIR += tracker - #SUBDIR += xcd # needs tk80 + SUBDIR += xcd #SUBDIR += xcdplayer SUBDIR += xmcd SUBDIR += xmix diff --git a/audio/xcd/patches/patch-aa b/audio/xcd/patches/patch-aa new file mode 100644 index 00000000000..a623d34867e --- /dev/null +++ b/audio/xcd/patches/patch-aa @@ -0,0 +1,49 @@ +diff -c ../../work/xcd/Makefile ./Makefile +*** ../../work/xcd/Makefile Mon Feb 9 23:16:59 1998 +--- ./Makefile Mon Feb 9 23:19:02 1998 +*************** +*** 5,10 **** +--- 5,11 ---- + all: cdplayer xcd + xcd: xcd.in + sed -e s?CDPLAYER?$(BINDIR)/cdplayer? -e s?BITMAPDIR?$(CDDIR)? \ ++ -e s?WISH?$(BINDIR)/wish8.0? \ + < xcd.in > $@ + chmod ugo+x xcd + cdplayer: cdplayer.c +Common subdirectories: ../../work/xcd/bitmaps and ./bitmaps +Binary files ../../work/xcd/cdplayer and ./cdplayer differ +diff -c ../../work/xcd/cdplayer.c ./cdplayer.c +*** ../../work/xcd/cdplayer.c Sun Oct 1 03:01:07 1995 +--- ./cdplayer.c Mon Feb 9 22:30:42 1998 +*************** +*** 6,12 **** + #include <sys/cdio.h> + #include <sys/ioctl.h> + +! #define DEVICE "/dev/rcd0c" + + #define command(s) strncmp(cmd,s,strlen(s))==0 + +--- 6,12 ---- + #include <sys/cdio.h> + #include <sys/ioctl.h> + +! #define DEVICE "/dev/rcd0d" + + #define command(s) strncmp(cmd,s,strlen(s))==0 + +diff -c ../../work/xcd/xcd.in ./xcd.in +*** ../../work/xcd/xcd.in Mon Feb 9 23:16:59 1998 +--- ./xcd.in Mon Feb 9 23:19:19 1998 +*************** +*** 1,4 **** +! #!/usr/local/bin/wish4.1 -f + # -*- tcl -*- + + # Copyright (C) 1994 by Jean-Marc Zucconi (jmz@cabri.obs-besancon.fr) +--- 1,4 ---- +! #!WISH -f + # -*- tcl -*- + + # Copyright (C) 1994 by Jean-Marc Zucconi (jmz@cabri.obs-besancon.fr) |