summaryrefslogtreecommitdiff
path: root/glibc2.36-fix.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2022-09-03 21:44:49 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2022-09-03 21:44:49 -0700
commitdb8785011bf802a2c229d68a84a0ba6f9b9a24f4 (patch)
treea3420b9ef629ecbc27609abff9f067a5783f7486 /glibc2.36-fix.patch
parentUpdated to 31.1.1 (diff)
downloadpalemoon-db8785011bf802a2c229d68a84a0ba6f9b9a24f4.tar.xz
Updated to 31.2.0.1
Diffstat (limited to 'glibc2.36-fix.patch')
-rw-r--r--glibc2.36-fix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/glibc2.36-fix.patch b/glibc2.36-fix.patch
new file mode 100644
index 0000000..5cb17d1
--- /dev/null
+++ b/glibc2.36-fix.patch
@@ -0,0 +1,20 @@
+https://forum.palemoon.org/viewtopic.php?f=62&t=28676
+diff -aur a/platform/ipc/chromium/src/third_party/libevent/arc4random.c b/platform/ipc/chromium/src/third_party/libevent/arc4random.c
+--- a/platform/ipc/chromium/src/third_party/libevent/arc4random.c 2022-08-03 10:28:29.353126800 +0100
++++ b/platform/ipc/chromium/src/third_party/libevent/arc4random.c 2022-08-03 21:16:14.795881259 +0100
+@@ -482,6 +482,7 @@
+ #endif
+
+ #if defined(_we_have_arc4random_buf) || !defined(XP_SOLARIS)
++#if (__GLIBC__ <= 2 && __GLIBC_MINOR__ < 36) || !defined(XP_LINUX)
+ ARC4RANDOM_EXPORT void
+ arc4random_buf(void *_buf, size_t n)
+ {
+@@ -496,6 +497,7 @@
+ _ARC4_UNLOCK();
+ }
+ #endif
++#endif
+
+ #ifndef ARC4RANDOM_NOUNIFORM
+ /*