summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl/patches/patch-ai
blob: 4cfc47f94fa0128fc305ad175a102bf4c74e28fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ai,v 1.1 2001/01/31 22:47:53 jlam Exp $

--- acconfig.h.orig	Wed Jul  5 12:59:25 2000
+++ acconfig.h
@@ -123,10 +123,15 @@
 /* define if your system has getpid() */
 #undef HAVE_GETPID
 
+/* location of the random number generator */
+#undef SASL_DEV_RANDOM
+
 @BOTTOM@
 
 /* location of the random number generator */
-#ifndef DEV_RANDOM
+#ifdef SASL_DEV_RANDOM
+#define DEV_RANDOM SASL_DEV_RANDOM
+#else
 #define DEV_RANDOM "/dev/random"
 #endif