diff options
Diffstat (limited to 'net-p2p/gtk-gnutella/files/patch-src_lib_arc4random.c')
-rw-r--r-- | net-p2p/gtk-gnutella/files/patch-src_lib_arc4random.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-p2p/gtk-gnutella/files/patch-src_lib_arc4random.c b/net-p2p/gtk-gnutella/files/patch-src_lib_arc4random.c new file mode 100644 index 000000000000..1219d7d70fdb --- /dev/null +++ b/net-p2p/gtk-gnutella/files/patch-src_lib_arc4random.c @@ -0,0 +1,14 @@ +--- src/lib/arc4random.c.orig 2017-10-22 16:12:09 UTC ++++ src/lib/arc4random.c +@@ -298,9 +298,11 @@ arc4random64(void) + void G_COLD + arc4random_stir_once(void) + { ++#ifdef arc4random_stir + static once_flag_t done; + + once_flag_run(&done, arc4random_stir); ++#endif + } + + /*** |