summaryrefslogtreecommitdiff
path: root/graphics/ffmpeg/patches/patch-ab
blob: b8f6e31f580d39fc35ef6b11684494d78f979e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ab,v 1.2 2002/03/22 11:59:19 tron Exp $

--- ffserver.c.orig	Wed Aug 15 00:38:17 2001
+++ ffserver.c	Fri Mar 22 12:39:59 2002
@@ -1491,7 +1491,7 @@
            "\n"
            "-L            : print the LICENCE\n"
            "-h            : this help\n"
-           "-f configfile : use configfile instead of /etc/ffserver.conf\n"
+           "-f configfile : use configfile instead of " FFSERVER_CONF "\n"
            );
 }
 
@@ -1523,10 +1523,10 @@
 
     register_all();
 
-    config_filename = "/etc/ffserver.conf";
+    config_filename = FFSERVER_CONF;
 
     for(;;) {
-        c = getopt_long_only(argc, argv, "Lh?f:", NULL, NULL);
+        c = getopt(argc, argv, "Lh?f:");
         if (c == -1)
             break;
         switch(c) {