openbsd-ports/devel/apr/patches/patch-build_apr_hints_m4
naddy 2068e861ae * Switch to running autoconf.
* Use arc4random instead of a random device.

ok stsp@
2017-10-25 19:36:46 +00:00

14 lines
507 B
Plaintext

$OpenBSD: patch-build_apr_hints_m4,v 1.1 2017/10/25 19:36:46 naddy Exp $
Index: build/apr_hints.m4
--- build/apr_hints.m4.orig
+++ build/apr_hints.m4
@@ -135,6 +135,7 @@ dnl # Not a problem in 10.20. Otherwise, who k
esac
;;
*-openbsd*)
+ APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE])
APR_ADDTO(CPPFLAGS, [-D_POSIX_THREADS])
# binding to an ephemeral port fails on OpenBSD so override
# the test for O_NONBLOCK inheritance across accept().