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
+29
View File
@@ -0,0 +1,29 @@
$NetBSD: patch-ab,v 1.1.1.1 2008/03/07 23:40:06 reed Exp $
--- portmap.c.orig 2003-03-19 23:42:46.000000000 -0800
+++ portmap.c 2003-03-19 23:44:06.000000000 -0800
@@ -85,6 +85,7 @@
#include <stdio.h>
#include <syslog.h>
#include <netdb.h>
+#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/wait.h>
@@ -124,7 +125,6 @@
static void callit();
struct pmaplist *pmaplist;
int debugging = 0;
-extern int errno;
#include "pmap_check.h"
@@ -235,7 +235,7 @@
/* need to override perror calls in rpc library */
void
perror(what)
- const char *what;
+ __const char *what;
{
syslog(LOG_ERR, "%s: %m", what);