b1bdf2c5b2
Glib now enforces threads requirement. As a result, this commit will break p5-Glib2 (as our perl is not threaded). Decision was taken after a chat with naddy@ and jasper@ as patching our current glib2 like hell to cope with newer packages requirements is clearly not a good solution. naddy is ok with this move.
13 lines
376 B
Plaintext
13 lines
376 B
Plaintext
$OpenBSD: patch-glib_grand_c,v 1.2 2010/04/22 19:34:06 ajacoutot Exp $
|
|
--- glib/grand.c.orig Wed Mar 17 21:55:34 2010
|
|
+++ glib/grand.c Sun Mar 28 07:51:43 2010
|
|
@@ -223,7 +223,7 @@ g_rand_new (void)
|
|
do
|
|
{
|
|
errno = 0;
|
|
- dev_urandom = fopen("/dev/urandom", "rb");
|
|
+ dev_urandom = fopen("/dev/arandom", "rb");
|
|
}
|
|
while G_UNLIKELY (errno == EINTR);
|
|
|