summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/gnutls-3.6.13_pre.local.patch20
-rw-r--r--patches/gnutls-3.6.6.local.patch14
2 files changed, 20 insertions, 14 deletions
diff --git a/patches/gnutls-3.6.13_pre.local.patch b/patches/gnutls-3.6.13_pre.local.patch
new file mode 100644
index 00000000..b214ccc0
--- /dev/null
+++ b/patches/gnutls-3.6.13_pre.local.patch
@@ -0,0 +1,20 @@
+diff -ru gnutls-3.6.13.orig/configure gnutls-3.6.13/configure
+--- gnutls-3.6.13.orig/configure 2020-03-30 20:56:14.000000000 +0200
++++ gnutls-3.6.13/configure 2020-04-12 15:19:56.629453170 +0200
+@@ -58313,6 +58313,16 @@
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
++midipix*)
++ version_type=linux # correct to gnu/linux during the next big refactor
++ need_lib_prefix=no
++ need_version=no
++ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
++ soname_spec='$libname$release$shared_ext$major'
++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++ shlibpath_var=LD_LIBRARY_PATH
++ ;;
++
+ netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
diff --git a/patches/gnutls-3.6.6.local.patch b/patches/gnutls-3.6.6.local.patch
deleted file mode 100644
index 599a52d5..00000000
--- a/patches/gnutls-3.6.6.local.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ru gnutls-3.6.6.orig/lib/random.c gnutls-3.6.6/lib/random.c
---- gnutls-3.6.6.orig/lib/random.c 2018-04-01 13:56:13.000000000 +0200
-+++ gnutls-3.6.6/lib/random.c 2019-01-31 20:38:57.815274977 +0100
-@@ -36,8 +36,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;