Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
$NetBSD: patch-ao,v 1.1 2006/05/09 19:24:24 joerg Exp $
--- base/libmisc/chowntty.c.orig 2006-05-09 18:12:33.000000000 +0000
+++ base/libmisc/chowntty.c
@@ -35,6 +35,7 @@ RCSID("$Id: chowntty.c,v 1.3 1997/05/01
#include <sys/types.h>
#include <sys/stat.h>
+#include <errno.h>
#include <stdio.h>
#include <grp.h>
@@ -72,7 +73,6 @@ chown_tty(tty, info)
const char *tty;
const struct passwd *info;
{
- extern int errno;
char buf[BUFSIZ];
char *group; /* TTY group name or number */
struct group *grent;