pkgsrc/x11/9term/patches/patch-ag
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

26 lines
513 B
Text

$NetBSD: patch-ag,v 1.1 2001/05/01 09:35:42 agc Exp $
--- 9term/command.c.orig Mon Mar 7 01:50:51 1994
+++ 9term/command.c Fri Sep 26 16:46:53 1997
@@ -13,7 +13,12 @@
#include <sys/wait.h>
#include <signal.h>
#include <grp.h>
+#include <sys/param.h>
+#if (defined(BSD) && BSD >= 199306)
+#include <termios.h>
+#else
#include <termio.h>
+#endif
#ifdef SOLARIS
#include <sys/stropts.h>
#endif
@@ -204,7 +209,7 @@
*/
void
-killpg(int sig)
+O_killpg(int sig)
{
if (comm_pid)
kill(-comm_pid, sig);