Import of pkgsrc-2015Q3

This commit is contained in:
2016-01-21 23:42:40 +01:00
committed by sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228313 additions and 80017 deletions
@@ -0,0 +1,23 @@
$NetBSD: patch-util.c,v 1.1 2015/07/09 10:56:54 jperkin Exp $
Use nbcompat headers.
--- util.c.orig 2007-12-06 20:33:49.000000000 +0000
+++ util.c
@@ -29,3 +29,8 @@
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat.h>
+#include <nbcompat/cdefs.h>
+#else
#include <sys/cdefs.h>
+#endif
#ifndef lint
@@ -41,3 +46,7 @@ __RCSID("$NetBSD: util.c,v 1.5 2007/12/0
#include <errno.h>
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/fts.h>
+#else
#include <fts.h>
+#endif
#include <regex.h>