summaryrefslogtreecommitdiff
path: root/audio/cdplay/files/patch-ae
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-06-27 05:35:02 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-06-27 05:35:02 +0000
commitd088df7687e6657abf102e67c12c220528d927c9 (patch)
tree3ac686b15404bbaf64ba3b938d866552171ab7cb /audio/cdplay/files/patch-ae
parentRemove NO_CONFIGURE and NO_PATCH, they never meant anything. (diff)
Add patches to support IDE cd-roms. While I'm here, respect
${CFLAGS}. Heck, why not go all the way and respect ${PREFIX}, too (respect now added). As an intentional side-effect, these patches also prevent the pause function from blasting the listener's ears off (the way cdcontrol currently does (and cdplay used to)).
Notes
Notes: svn path=/head/; revision=11553
Diffstat (limited to '')
-rw-r--r--audio/cdplay/files/patch-ae16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/cdplay/files/patch-ae b/audio/cdplay/files/patch-ae
new file mode 100644
index 000000000000..c782287bfc81
--- /dev/null
+++ b/audio/cdplay/files/patch-ae
@@ -0,0 +1,16 @@
+diff -ur ../cdplay-0.92.orig/main.c ./main.c
+--- ../cdplay-0.92.orig/main.c Mon Nov 17 04:26:26 1997
++++ ./main.c Sat Jun 27 00:29:34 1998
+@@ -77,10 +77,11 @@
+ else if(cmd[0]=='r'){message="rew";rew();}
+ else if(cmd[0]=='s'){message="stop";stop();}
+ else if(cmd[0]=='e'){message="eject";eject();}
+- else if(cmd[0]==' ') cdpause();
++ else if(cmd[0]==' ') cdsoftpause();
+ else if(cmd[0]=='+'){message="more vol";more_vol();}
+ else if(cmd[0]=='-'){message="less vol";less_vol();}
+ else if(cmd[0]=='q'){message="bye!";do_exit(0);}
++ else if(cmd[0]=='P') cdpause();
+ }
+ update_cdinfo();
+ move_up(5);