summaryrefslogtreecommitdiffhomepage
path: root/patches/libressl-3.9.1.local.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-03-28 14:02:43 +0100
committerØrjan Malde <red@foxi.me>2024-03-28 14:04:25 +0100
commitd2942a7f5cb9ccc9c5d5afa070c22d933617aa1d (patch)
tree20f34be0691e4dbabca126a17f4fe5e7982ee183 /patches/libressl-3.9.1.local.patch
parente29bde22a0ebf05e64e2963c8c5eee46a12b8b67 (diff)
downloadmidipix_build-d2942a7f5cb9ccc9c5d5afa070c22d933617aa1d.tar.bz2
midipix_build-d2942a7f5cb9ccc9c5d5afa070c22d933617aa1d.tar.xz
groups.d/251.native_packages_lib.group: libressl: bump to v3.9.1
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/libressl-3.9.1.local.patch')
-rw-r--r--patches/libressl-3.9.1.local.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/libressl-3.9.1.local.patch b/patches/libressl-3.9.1.local.patch
new file mode 100644
index 00000000..8235cc0c
--- /dev/null
+++ b/patches/libressl-3.9.1.local.patch
@@ -0,0 +1,19 @@
+diff -ru libressl-3.7.1.orig/crypto/compat/arc4random_linux.h libressl-3.7.1/crypto/compat/arc4random_linux.h
+--- libressl-3.7.1.orig/crypto/compat/arc4random_linux.h 2023-05-14 00:44:53.716886970 +0200
++++ libressl-3.7.1/crypto/compat/arc4random_linux.h 2023-05-14 00:44:32.052886839 +0200
+@@ -27,6 +27,7 @@
+
+ #include <pthread.h>
+ #include <signal.h>
++#include <stdio.h>
+
+ static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
+ #define _ARC4_LOCK() pthread_mutex_lock(&arc4random_mtx)
+@@ -43,6 +44,7 @@
+ static inline void
+ _getentropy_fail(void)
+ {
++ fprintf(stderr, "Couldn't obtain randomness from getentropy\n");
+ raise(SIGKILL);
+ }
+