Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-tree.h,v 1.2 2013/08/25 14:29:52 richard Exp $
* solaris defines S_ISDOOR already so undef in order to not
* undermine program logic.
*
--- tree.h.orig 2011-06-24 12:55:58.000000000 +0000
+++ tree.h
@@ -59,6 +59,10 @@
#define mbstowcs(w,m,x) mbsrtowcs(w,(const char**)(& #m),x,NULL)
#endif
+#ifdef __sun
+# undef S_ISDOOR
+#endif
+
/* Should probably use strdup(), but we like our xmalloc() */
#define scopy(x) strcpy(xmalloc(strlen(x)+1),(x))
#define MINIT 30 /* number of dir entries to initially allocate */