diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 01:31:13 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 01:31:13 +0000 |
commit | 7f36934d440e9eef6de5bb89c7a0c6d94b7b1ea4 (patch) | |
tree | 3bddb5ab6e3fb3a57edca76c00d09e6b3c99ac3e /multimedia/mplex/files/patch-main.c | |
parent | Rename misc/ patch-xy patches to reflect the files they modify. (diff) |
Rename multimedia/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363283
Diffstat (limited to 'multimedia/mplex/files/patch-main.c')
-rw-r--r-- | multimedia/mplex/files/patch-main.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/multimedia/mplex/files/patch-main.c b/multimedia/mplex/files/patch-main.c new file mode 100644 index 000000000000..12d99a0ca25d --- /dev/null +++ b/multimedia/mplex/files/patch-main.c @@ -0,0 +1,34 @@ +--- main.c.orig Wed Apr 5 03:51:53 1995 ++++ main.c Mon Sep 4 18:17:45 2000 +@@ -59,6 +59,7 @@ + *************************************************************************/ + + #include "main.h" ++#include <unistd.h> + + /************************************************************************* + Main +@@ -75,6 +76,8 @@ + struct timeval tp_global_end; + #endif + ++int Interactive=0; ++ + int main (argc, argv) + + int argc; +@@ -93,6 +96,14 @@ + unsigned int which_streams=0; + double startup_delay=0; + ++ int tmp; ++ ++ if( getopt( argc, argv, "i" ) == 'i' ) ++ Interactive=1; ++ ++ optind -= 1; ++ argc -= optind; ++ argv += optind; + + intro (argc); + check_files (argc, argv, &audio_file, &video_file, &multi_file, |