Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/gnutls-3.6.6.local.patch

Lucio Andrés Illanes Albornoz cc0459
diff -ru gnutls-3.6.6.orig/lib/random.c gnutls-3.6.6/lib/random.c
Lucio Andrés Illanes Albornoz cc0459
--- gnutls-3.6.6.orig/lib/random.c	2018-04-01 13:56:13.000000000 +0200
Lucio Andrés Illanes Albornoz cc0459
+++ gnutls-3.6.6/lib/random.c	2019-01-31 20:38:57.815274977 +0100
Lucio Andrés Illanes Albornoz cc0459
@@ -36,8 +36,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
 
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
 /* Per thread context of random generator, and a flag to indicate initialization */
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
-static _Thread_local void *gnutls_rnd_ctx;
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
-static _Thread_local unsigned rnd_initialized = 0;
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
+static __thread void *gnutls_rnd_ctx;
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
+static __thread unsigned rnd_initialized = 0;
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
 
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
 struct rnd_ctx_list_st {
Lucio Andrés Illanes Albornoz (arab, vxp) 38d5c6
 	void *ctx;