1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-03 22:23:24 +00:00
freebsd-ports/audio/cdplay/files/patch-ae
Tim Vanderhoek d088df7687 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)).
1998-06-27 05:35:02 +00:00

17 lines
658 B
Plaintext

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);