diff options
Diffstat (limited to 'x11/9term/patches/patch-ah')
-rw-r--r-- | x11/9term/patches/patch-ah | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/x11/9term/patches/patch-ah b/x11/9term/patches/patch-ah new file mode 100644 index 00000000000..c1f1148f0b3 --- /dev/null +++ b/x11/9term/patches/patch-ah @@ -0,0 +1,31 @@ +$NetBSD: patch-ah,v 1.1 2001/05/01 09:35:42 agc Exp $ + +--- 9term/display.c.orig Thu Dec 15 14:48:28 1994 ++++ 9term/display.c Fri Sep 26 16:44:28 1997 +@@ -114,7 +114,7 @@ + delwin(Widget w, XEvent *event, String *params, Cardinal *n) + { + if (w == _toplevel) +- killpg(SIGHUP); ++ O_killpg(SIGHUP); + } + + /* +@@ -185,7 +185,7 @@ + else if (!strcasecmp(s, "plan9")) + kbdmode = PLAN9; + if (s = get_resource(resource, class, "p9font", "P9font")) +- setenv("font", s, 1); ++ O_setenv("font", s, 1); + if (s = get_resource(resource, class, "highwater", "Highwater")) + highwater = atoi(s); + if (s = get_resource(resource, class, "lowwater", "Lowwater")) +@@ -230,7 +230,7 @@ + #endif + /* export window id to environment */ + sprintf(id, "%d", XtWindow(_toplevel)); +- setenv("WINDOWID", id, 1); ++ O_setenv("WINDOWID", id, 1); + + /* register mouse and keyboard events */ + einit(Ekeyboard | Emouse); |