summaryrefslogtreecommitdiff
path: root/multimedia/mplex/files/patch-af
diff options
context:
space:
mode:
authorMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2011-11-27 11:56:22 +0000
committerMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2011-11-27 11:56:22 +0000
commit991b898e7243d26367b1162dafac85d9a7a68e07 (patch)
treea9cce23d899c029642919ecc464ab757f0de6e35 /multimedia/mplex/files/patch-af
parent- Added metrics for clapf and postscreen (diff)
Re-add multimedia/fxtv and mplex
- update Mastersite - take maintainership from ports@FreeBSD.org. Feature safe: yes
Notes
Notes: svn path=/head/; revision=286500
Diffstat (limited to 'multimedia/mplex/files/patch-af')
-rw-r--r--multimedia/mplex/files/patch-af34
1 files changed, 34 insertions, 0 deletions
diff --git a/multimedia/mplex/files/patch-af b/multimedia/mplex/files/patch-af
new file mode 100644
index 000000000000..12d99a0ca25d
--- /dev/null
+++ b/multimedia/mplex/files/patch-af
@@ -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,