summaryrefslogtreecommitdiff
path: root/devel/apr0/patches/patch-at
blob: 47e06bbae3b7b6af9c705a2008cc923f75a1dde5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-at,v 1.1.1.1 2007/01/24 19:31:24 epg Exp $

--- apr/build/apr_hints.m4.orig	2005-07-15 15:19:19.000000000 +0000
+++ apr/build/apr_hints.m4
@@ -140,6 +140,12 @@ dnl	       # Not a problem in 10.20.  Ot
         # fcntl() lies about O_NONBLOCK on an accept()ed socket (PR kern/26950)
         APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes])
 	;;
+    *-dragonfly*)
+	APR_ADDTO(CFLAGS, [-funsigned-char])
+	APR_SETIFNULL(enable_threads, [no])
+        APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE])
+	APR_ADDTO(CPPFLAGS, [-D_REENTRANT])
+	;;
     *-freebsd*)
 	case $host in
 	    *freebsd[2345]*)