Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -0,0 +1,24 @@
$NetBSD: patch-src-xattr.c,v 1.1 2015/09/23 12:03:48 joerg Exp $
--- src/xattr.c.orig 2015-07-01 11:45:08.000000000 +0000
+++ src/xattr.c
@@ -265,12 +265,19 @@ int set_xattr(const char *path, struct s
|| defined(HAVE_OPENBSD_OS)
#include <sys/extattr.h>
+#if defined(HAVE_FREEBSD_OS)
#include <libutil.h>
+#else
+#include <util.h>
+#endif
static int namespaces[2] = { EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM };
#if defined(HAVE_FREEBSD_OS)
static const char *acl_skiplist[2] = { "system.posix1e.acl_access", NULL };
+#else
+static const char *acl_skiplist[] = { NULL };
+
#endif
int has_xattr(const char *path, char cmd)