From d088df7687e6657abf102e67c12c220528d927c9 Mon Sep 17 00:00:00 2001 From: Tim Vanderhoek Date: Sat, 27 Jun 1998 05:35:02 +0000 Subject: 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)). --- audio/cdplay/files/patch-ae | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 audio/cdplay/files/patch-ae (limited to 'audio/cdplay/files/patch-ae') 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); -- cgit v1.2.3