Blame wireshark-0.99.7-path.patch

Radek Vokál f115bf
Nasty patch for consolehelper. Wireshark run from consolehelper in unprivileged
Radek Vokál f115bf
mode wrongly detects path as /usr/bin instead of /usr/sbin. Causes few strange 
Radek Vokál f115bf
crashes in GUI. 
Radek Vokál f115bf
Radek Vokál f115bf
diff -up wireshark-0.99.7/capture_sync.c.old wireshark-0.99.7/capture_sync.c
Radek Vokál f115bf
--- wireshark-0.99.7/capture_sync.c.old	2007-12-18 02:16:14.000000000 +0100
Radek Vokál f115bf
+++ wireshark-0.99.7/capture_sync.c	2007-12-19 13:50:17.000000000 +0100
Radek Vokál f115bf
@@ -230,7 +230,7 @@ init_pipe_args(int *argc) {
Radek Vokál f115bf
     *argv = NULL;
Radek Vokál f115bf
 
Radek Vokál f115bf
     /* take Wireshark's absolute program path and replace "Wireshark" with "dumpcap" */
Radek Vokál f115bf
-    exename = g_strdup_printf("%s" G_DIR_SEPARATOR_S "dumpcap", progfile_dir);
Radek Vokál f115bf
+    exename = g_strdup_printf("%s" G_DIR_SEPARATOR_S "dumpcap", "/usr/sbin");
Radek Vokál f115bf
 
Radek Vokál f115bf
     /* Make that the first argument in the argument list (argv[0]). */
Radek Vokál f115bf
     argv = sync_pipe_add_arg(argv, argc, exename);