summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-04-12 15:31:34 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-12 14:32:50 +0100
commit204df2684b020fd5c8bd959c9f901ec3090cdc14 (patch)
tree9213ea0e9b3566bc1034f3705b22ea234631a495 /patches
parentd8ba466fd3d4aef117c270557a82aa8c362240ed (diff)
downloadmidipix_build-204df2684b020fd5c8bd959c9f901ec3090cdc14.tar.bz2
midipix_build-204df2684b020fd5c8bd959c9f901ec3090cdc14.tar.xz
gnutls: update to version 3.6.13
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
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;