openbsd-ports/x11/x11vnc/patches/patch-x11vnc_gui_c
sthen a520652879 - add dependency on Tk for the gui; diff from Mikolaj Kucharski,
reworked to use MODULES=x11/tk (suggested by steven@) and Makefile
cleanup by Stuart Cassoff, thanks to both

- take MAINTAINER, previous maintainer didn't respond to my past emails
2009-02-15 09:47:48 +00:00

13 lines
644 B
Plaintext

$OpenBSD: patch-x11vnc_gui_c,v 1.1 2009/02/15 09:47:48 sthen Exp $
--- x11vnc/gui.c.orig Mon Dec 8 22:41:01 2008
+++ x11vnc/gui.c Sun Feb 15 02:07:06 2009
@@ -231,7 +231,7 @@ static void sigusr1 (int sig) {
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 *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) {