pkgsrc/x11/9term/patches/patch-ah
agc 8744bbe3b0 + Now that editors/sam installs header files and libraries, use a
conventional DEPENDS mechanism.
+ Avoid hardcoded "/usr/X11R6" in Makefiles
+ Split patch-ab into multiple patches.

Should fix bulk-build problems, as well as getting rid of one more
"eccentric" package.
2001-05-01 09:35:40 +00:00

31 lines
898 B
Text

$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);