diff options
Diffstat (limited to 'graphics/mplex/patches/patch-af')
-rw-r--r-- | graphics/mplex/patches/patch-af | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/mplex/patches/patch-af b/graphics/mplex/patches/patch-af new file mode 100644 index 00000000000..da9266d138a --- /dev/null +++ b/graphics/mplex/patches/patch-af @@ -0,0 +1,36 @@ +$NetBSD: patch-af,v 1.1.1.1 2001/09/23 20:37:35 tron Exp $ + +--- main.c.orig Wed Apr 5 01:51:53 1995 ++++ main.c +@@ -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, |