summaryrefslogtreecommitdiff
path: root/audio/cdplay/files/patch-main.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/cdplay/files/patch-main.c
parentMooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff)
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=419133
Diffstat (limited to 'audio/cdplay/files/patch-main.c')
-rw-r--r--audio/cdplay/files/patch-main.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/audio/cdplay/files/patch-main.c b/audio/cdplay/files/patch-main.c
index b37036c209f9..f9bb8d845181 100644
--- a/audio/cdplay/files/patch-main.c
+++ b/audio/cdplay/files/patch-main.c
@@ -1,6 +1,6 @@
---- ./main.c.orig Mon May 19 15:44:41 2003
-+++ ./main.c Mon May 19 15:55:24 2003
-@@ -35,11 +35,14 @@
+--- 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];
@@ -16,7 +16,7 @@
if(argc>1 && !strcmp(argv[1],"-d"))
cd_device=argv[2];
else if(argc>1)
-@@ -68,19 +71,20 @@
+@@ -68,19 +71,20 @@ int main(int argc, char **argv)
while(1){
if(select(1,&rset,(fd_set *) 0,(fd_set *) 0,&stime)>0) {
@@ -43,12 +43,10 @@
}
update_cdinfo();
move_up(5);
-@@ -90,6 +94,36 @@
- }
-
+@@ -92,6 +96,36 @@ int main(int argc, char **argv)
exit(0);
-+}
-+
+ }
+
+void getcommand(char *command, int *repetivity)
+{
+ static char stored_command;
@@ -77,6 +75,8 @@
+ }
+ stored_command='\0';
+ return;
- }
-
++}
++
void hs_cont(void)
+ {
+ init_term();