NetBSD defines KERN_ARND to a value different to 37.
This commit is contained in:
parent
b39f85e7b3
commit
e00e021ee1
2 changed files with 17 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.2 2007/12/29 19:54:02 joerg Exp $
|
||||
$NetBSD: distinfo,v 1.3 2008/01/06 17:17:14 rillig Exp $
|
||||
|
||||
SHA1 (rtunes-snap-20071122.tar.bz2) = 8de9a4e7811785bf2fa05f1da85319942a38c000
|
||||
RMD160 (rtunes-snap-20071122.tar.bz2) = 8442a8f90a1a94bdeb61fb8bf1d94bcd861169ab
|
||||
|
@ -11,4 +11,4 @@ SHA1 (patch-ae) = 45afb27cd512e77aee74c4da1607f85fd5d15ee1
|
|||
SHA1 (patch-af) = d3cec3bcf6054eacb5567080ae9f7472926e5268
|
||||
SHA1 (patch-ag) = e5fb147e809875404a1cd239751b7d8667e0b927
|
||||
SHA1 (patch-ah) = 7c04858f66bce0e9def8689b4ecf0f1a5d2c3948
|
||||
SHA1 (patch-ai) = 6a770a3eed2874c6d7663dabbea4d779de1ad505
|
||||
SHA1 (patch-ai) = aeef0d06c04eb03e4cf6f0786a3e1c518e9cb82a
|
||||
|
|
|
@ -1,10 +1,21 @@
|
|||
$NetBSD: patch-ai,v 1.1 2007/12/29 19:54:02 joerg Exp $
|
||||
$NetBSD: patch-ai,v 1.2 2008/01/06 17:17:15 rillig Exp $
|
||||
|
||||
Conflicts with system function (size_t datlen) on DragonFly.
|
||||
|
||||
--- libbsd/arc4random.c.orig 2007-12-29 17:37:54.000000000 +0000
|
||||
+++ libbsd/arc4random.c
|
||||
@@ -150,14 +150,6 @@ arc4random_stir(void)
|
||||
--- libbsd/arc4random.c.orig 2006-05-06 14:33:22.000000000 +0000
|
||||
+++ libbsd/arc4random.c 2008-01-06 18:14:32.000000000 +0000
|
||||
@@ -41,7 +41,9 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
-#define KERN_ARND 37
|
||||
+#ifndef KERN_ARND
|
||||
+#define KERN_ARND 37 /* XXX: Different (81) on NetBSD */
|
||||
+#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define inline __inline
|
||||
@@ -150,14 +152,6 @@ arc4random_stir(void)
|
||||
arc4_stir(&rs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue