summaryrefslogtreecommitdiffhomepage
path: root/patches/libressl-3.9.0.local.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-03-11 10:02:58 +0100
committerØrjan Malde <red@foxi.me>2024-03-11 10:02:58 +0100
commit1c83a06d1c475d8223c99e6261d82a00a0b7a834 (patch)
tree24be43043140fd40bbd78fa00253bfbbbb5f612d /patches/libressl-3.9.0.local.patch
parent8cf97d7afe6c91ae7d66e7a5d4973638146e9c36 (diff)
downloadmidipix_build-1c83a06d1c475d8223c99e6261d82a00a0b7a834.tar.bz2
midipix_build-1c83a06d1c475d8223c99e6261d82a00a0b7a834.tar.xz
groups.d/251.native_packages_lib.group: libressl: bump to v3.9.0
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/libressl-3.9.0.local.patch')
-rw-r--r--patches/libressl-3.9.0.local.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/libressl-3.9.0.local.patch b/patches/libressl-3.9.0.local.patch
new file mode 100644
index 00000000..8235cc0c
--- /dev/null
+++ b/patches/libressl-3.9.0.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);
+ }
+