$NetBSD: patch-dj,v 1.1 2013/06/17 12:43:28 wiz Exp $ Although DragonFly has a POSIX.1e implementation, it's too old at the moment to be usable here. --- support/sys-xattr.c.orig 2009-07-16 21:56:23 +0300 +++ support/sys-xattr.c 2009-07-16 21:57:26 +0300 @@ -11,7 +11,7 @@ #include -#if defined(HAVE_SYS_XATTR_H) || defined(HAVE_ATTR_ATTR_H) || defined(HAVE_SYS_EXTATTR_H) +#if defined(HAVE_SYS_XATTR_H) || defined(HAVE_ATTR_ATTR_H) || (defined(HAVE_SYS_EXTATTR_H) && !defined(__DragonFly__)) #include