Import of pkgsrc-2014Q1

This commit is contained in:
2014-11-05 12:41:07 +01:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions
+12 -4
View File
@@ -1,8 +1,16 @@
$NetBSD: patch-ad,v 1.1 2008/07/25 03:38:01 tonnerre Exp $
$NetBSD: patch-ad,v 1.2 2013/07/19 12:54:58 joerg Exp $
--- misc.c.orig 2007-04-01 19:56:30.000000000 +0200
--- misc.c.orig 2007-04-01 17:56:30.000000000 +0000
+++ misc.c
@@ -108,8 +108,17 @@ int win; /* 0 for upper, 1 for lower */
@@ -7,6 +7,7 @@
#include <stdlib.h>
#include <string.h>
#include <signal.h>
+#include <termios.h>
#ifdef HAVE_TERMIO_H
@@ -108,8 +109,17 @@ int win; /* 0 for upper, 1 for lower */
/* "touch" the tty so 'w' reports proper idle times */
(void) utime(get_ttyname(), NULL);
@@ -21,7 +29,7 @@ $NetBSD: patch-ad,v 1.1 2008/07/25 03:38:01 tonnerre Exp $
/* Run the requested program, with possible leading dash. */
execvp(((*argv[0] == '-') ? argv[0]+1 : argv[0]), argv);
@@ -876,8 +885,17 @@ char *type;
@@ -876,8 +886,17 @@ char *type;
}
close(pipe_fds[0]); close(pipe_fds[1]);