66959a17a4
different port, so, LOCALBASE), _and_ x11vnc (installed by the current port, so PREFIX). fixit accordingly, for correctness and to cater for whoever might like the pain of installing different ports with different prefixes. discussed with/ok ajacoutot
16 lines
742 B
Plaintext
16 lines
742 B
Plaintext
$OpenBSD: patch-x11vnc_gui_c,v 1.3 2009/02/15 12:02:14 sthen Exp $
|
|
--- x11vnc/gui.c.orig Tue Dec 9 03:41:01 2008
|
|
+++ x11vnc/gui.c Sun Feb 15 09:55:50 2009
|
|
@@ -229,9 +229,8 @@ static void sigusr1 (int sig) {
|
|
if (0) sig = 0;
|
|
}
|
|
|
|
-static char *extra_path = ":/usr/local/bin:/usr/bin/X11:/usr/sfw/bin"
|
|
- ":/usr/X11R6/bin:/usr/openwin/bin:/usr/dt/bin";
|
|
-static char *wishes[] = {"wish8.4", "wish", "wish8.3", "wish8.5", "wish8.0", NULL};
|
|
+static char *extra_path = ":${PREFIX}/bin:${LOCALBASE}/bin:${X11BASE}/bin";
|
|
+static char *wishes[] = {"wish${MODTK_VERSION}", "wish8.5", "wish8.4", "wish", NULL};
|
|
|
|
static void run_gui(char *gui_xdisplay, int connect_to_x11vnc, int start_x11vnc,
|
|
int simple_gui, pid_t parent, char *gui_opts) {
|