summaryrefslogtreecommitdiffhomepage
path: root/patches/gnutls-3.6.2.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-04-04 23:58:29 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-04-04 23:58:29 +0000
commit38d5c6a7503428b0445cb24d0eda9208b9cb018b (patch)
treeaf3b67c60ca4dc872725c443df0152bab4238f27 /patches/gnutls-3.6.2.local.patch
parent12f3049360a6228410e35a3c812f29f040639333 (diff)
downloadmidipix_build-38d5c6a7503428b0445cb24d0eda9208b9cb018b.tar.bz2
midipix_build-38d5c6a7503428b0445cb24d0eda9208b9cb018b.tar.xz
vars/build.vars:native_packages_deps: adds gnutls v3.6.2 (via Redfoxmoon.)
vars/gnutls.vars:${PKG_CONFIG_CACHE_EXTRA}: configure with gl_cv_ld_output_def=no (via Redfoxmoon.) patches/gnutls-3.6.2.local.patch: via Redfoxmoon.
Diffstat (limited to 'patches/gnutls-3.6.2.local.patch')
-rw-r--r--patches/gnutls-3.6.2.local.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/gnutls-3.6.2.local.patch b/patches/gnutls-3.6.2.local.patch
new file mode 100644
index 00000000..d36d75ee
--- /dev/null
+++ b/patches/gnutls-3.6.2.local.patch
@@ -0,0 +1,14 @@
+diff -ru gnutls-3.6.2.orig/lib/random.c gnutls-3.6.2/lib/random.c
+--- gnutls-3.6.2.orig/lib/random.c 2018-02-11 10:49:13.000000000 +0100
++++ gnutls-3.6.2/lib/random.c 2018-04-05 00:48:31.928381221 +0200
+@@ -42,8 +42,8 @@
+ #endif
+
+ /* Per thread context of random generator, and a flag to indicate initialization */
+-static _Thread_local void *gnutls_rnd_ctx;
+-static _Thread_local unsigned rnd_initialized = 0;
++static __thread void *gnutls_rnd_ctx;
++static __thread unsigned rnd_initialized = 0;
+
+ struct rnd_ctx_list_st {
+ void *ctx;