summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2023-05-14 01:13:15 +0200
committerØrjan Malde <red@foxi.me>2023-05-14 01:13:45 +0200
commitba460e7e2e568d7a5139fc938366a2526f583da6 (patch)
tree97b4a1e38ccbfdb09eb047b49d9d67ba9a6348af /patches
parentf22825b9baac69924650fb0c3b5392fb814ba9f6 (diff)
downloadmidipix_build-ba460e7e2e568d7a5139fc938366a2526f583da6.tar.bz2
midipix_build-ba460e7e2e568d7a5139fc938366a2526f583da6.tar.xz
groups.d/251.native_packages_lib.group: libressl: bump to v3.7.2
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r--patches/libressl-3.7.2.local.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/libressl-3.7.2.local.patch b/patches/libressl-3.7.2.local.patch
new file mode 100644
index 00000000..8235cc0c
--- /dev/null
+++ b/patches/libressl-3.7.2.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);
+ }
+