summaryrefslogtreecommitdiff
path: root/devel/apr/patches/patch-ao
blob: 5cc8d7ef76a354da7ced915da93b446d374ac70f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ao,v 1.2 2005/04/25 09:13:02 adam Exp $

--- apr/configure.orig	2005-04-11 21:04:37.000000000 +0000
+++ apr/configure
@@ -40289,7 +40289,7 @@ fi;
   if test "$apr_devrandom" = "yes"; then
     # /dev/random on OpenBSD doesn't provide random data, so
     # prefer /dev/arandom, which does; see random(4).
-    for f in /dev/arandom /dev/random /dev/urandom; do
+    for f in /dev/arandom /dev/urandom /dev/random; do
       if test -r $f; then
         apr_devrandom=$f
         rand=1