View | Details | Raw Unified | Return to bug 230756 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	gtk-gnutella
4
PORTNAME=	gtk-gnutella
5
PORTVERSION=	1.1.13
5
PORTVERSION=	1.1.13
6
PORTREVISION=	1
6
CATEGORIES=	net-p2p ipv6
7
CATEGORIES=	net-p2p ipv6
7
MASTER_SITES=	SF
8
MASTER_SITES=	SF
8
9
(-)files/patch-src_lib_arc4random.c (+14 lines)
Line 0 Link Here
1
--- src/lib/arc4random.c.orig	2017-10-22 16:12:09 UTC
2
+++ src/lib/arc4random.c
3
@@ -298,9 +298,11 @@ arc4random64(void)
4
 void G_COLD
5
 arc4random_stir_once(void)
6
 {
7
+#ifdef arc4random_stir
8
 	static once_flag_t done;
9
 
10
 	once_flag_run(&done, arc4random_stir);
11
+#endif
12
 }
13
 
14
 /***
(-)files/patch-src_lib_random.c (+12 lines)
Line 0 Link Here
1
--- src/lib/random.c.orig	2017-10-22 16:12:12 UTC
2
+++ src/lib/random.c
3
@@ -1058,7 +1058,9 @@ random_entropy(void *unused)
4
 		break;
5
 	case RANDOM_ARC4:
6
 		RANDOM_STATS_INC(arc4_distributed);
7
+#ifdef arc4random_addrandom
8
 		arc4random_addrandom(entropy, (int) ELEN);
9
+#endif
10
 		break;
11
 	case RANDOM_CMWC:
12
 		RANDOM_STATS_INC(cmwc_distributed);

Return to bug 230756