summaryrefslogtreecommitdiff
path: root/audio/cdplay/files/patch-main.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2021-04-07 19:54:12 +0200
committerRene Ladan <rene@FreeBSD.org>2021-04-07 19:54:26 +0200
commit5980fd40bc59f3f872f57f75b3a31fb986c1b06e (patch)
tree717e82c8a03179338de8d28a97e4fb040aa3ff6f /audio/cdplay/files/patch-main.c
parentprint/R-cran-tinytex: Update to 0.31 (diff)
Remove expired ports:
2021-04-01 ftp/wzdftpd: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 astro/roadmap: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/cosmo: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/bomberinstinct: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/drm: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/bygfoot: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/cre: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 irc/hybserv: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 irc/xaric: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 mail/elmo: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 misc/cave: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 security/bugs: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 security/dmitry: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 security/doorman: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 shells/esh: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 sysutils/cpu: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 textproc/libcrm114: No known users, dead upstream 2021-04-01 x11/wmmatrix: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/wmxss: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/tycoon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/xgrab: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/xbanner: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/bricons: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/xmon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/cavezofphear: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 astro/saoimage: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/ksmp3play: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/jamin: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/musicbox-tag-editor: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/nspmod: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/cdplay: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/gimmix: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/ghostess: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/wmrecord: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/toolame: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/shout: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 biology/grappa: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 biology/phylip: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 biology/lagan: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 cad/varkon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 cad/transcalc: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 comms/seyon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 comms/efax: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 converters/vda2fbd: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 converters/shftool: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 devel/openzz: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 devel/sourcenav: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 devel/gb: Unmaintained and dead upstream 2021-04-01 dns/checkdns: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 dns/inadyn-mt: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 editors/gate: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 editors/thoteditor: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 emulators/cinc: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 emulators/e-uae: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 emulators/dtcyber: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 ftp/jftpgw: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 ftp/pureadmin: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-02 textproc/hs-pandoc-citeproc: Integrated into textproc/hs-pandoc
Diffstat (limited to 'audio/cdplay/files/patch-main.c')
-rw-r--r--audio/cdplay/files/patch-main.c82
1 files changed, 0 insertions, 82 deletions
diff --git a/audio/cdplay/files/patch-main.c b/audio/cdplay/files/patch-main.c
deleted file mode 100644
index f9bb8d845181..000000000000
--- a/audio/cdplay/files/patch-main.c
+++ /dev/null
@@ -1,82 +0,0 @@
---- main.c.orig 1997-11-17 09:26:26 UTC
-+++ main.c
-@@ -35,11 +35,14 @@ extern struct termios old_ttyattr;
- int main(int argc, char **argv)
- {
- char cmd[1];
-+ int repetivity;
- fd_set rset;
- struct timeval stime;
-
- /* Parse arguments */
-- cd_device=DEVICE;
-+ cd_device=getenv("CDROM");
-+ if (cd_device==NULL)
-+ cd_device=DEVICE;
- if(argc>1 && !strcmp(argv[1],"-d"))
- cd_device=argv[2];
- else if(argc>1)
-@@ -68,19 +71,20 @@ int main(int argc, char **argv)
-
- while(1){
- if(select(1,&rset,(fd_set *) 0,(fd_set *) 0,&stime)>0) {
-- read(STDIN_FILENO,cmd,FD_SETSIZE);
--
-+ getcommand(&cmd[0], &repetivity);
-+
- if(cmd[0]=='p'){message="play";play_track(1);}
- else if(cmd[0]=='F'){message="next";next();}
- else if(cmd[0]=='R'){message="prev";prev();}
-- else if(cmd[0]=='f'){message="ff";ff();}
-- else if(cmd[0]=='r'){message="rew";rew();}
-+ else if(cmd[0]=='f'){message="ff";ff(repetivity);}
-+ else if(cmd[0]=='r'){message="rew";rew(repetivity);}
- 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]=='E'){message="eject";eject();}
-+ 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);
-@@ -92,6 +96,36 @@ int main(int argc, char **argv)
- exit(0);
- }
-
-+void getcommand(char *command, int *repetivity)
-+{
-+ static char stored_command;
-+ int n;
-+
-+ fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
-+
-+ if (stored_command) {
-+ *command=stored_command;
-+ } else {
-+ n=read(STDIN_FILENO,command,1);
-+ if (n <= 0) {
-+ *command='\0';
-+ *repetivity=0;
-+ return;
-+ }
-+ }
-+
-+ *repetivity=1;
-+ while (read(STDIN_FILENO, &stored_command, 1) > 0) {
-+ if (stored_command == *command) {
-+ (*repetivity)++;
-+ } else {
-+ return;
-+ }
-+ }
-+ stored_command='\0';
-+ return;
-+}
-+
- void hs_cont(void)
- {
- init_term();