summaryrefslogtreecommitdiff
path: root/lang/mono2/patches/patch-dj
blob: 8aa041ece72785ca3edef7629b9eba0a59d42766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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 <config.h>
 
-#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 <sys/types.h>