From 7d28d9d78f739adf0b78dd38157c79f58d57613f Mon Sep 17 00:00:00 2001 From: zhouganqing Date: Wed, 12 Jul 2023 09:52:17 +0800 Subject: [PATCH] Glibc 2.36 already has arc4random_buf function --- debian/changelog | 6 ++++++ ipc/chromium/src/third_party/libevent/arc4random.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1e9dc00e06..577314cd15 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +firefox (102.0+build2-ok3) yangtze; urgency=medium + + * Fix build error. + + -- zhouganqing Wed, 12 Jul 2023 09:49:41 +0800 + firefox (102.0+build2-ok2.2) yangtze; urgency=medium * Fix d/rules. diff --git a/ipc/chromium/src/third_party/libevent/arc4random.c b/ipc/chromium/src/third_party/libevent/arc4random.c index 8729f6b92f..5cf3cec442 100644 --- a/ipc/chromium/src/third_party/libevent/arc4random.c +++ b/ipc/chromium/src/third_party/libevent/arc4random.c @@ -484,7 +484,7 @@ arc4random(void) } #endif -ARC4RANDOM_EXPORT void +/*ARC4RANDOM_EXPORT void arc4random_buf(void *buf_, size_t n) { unsigned char *buf = buf_; @@ -496,7 +496,7 @@ arc4random_buf(void *buf_, size_t n) buf[n] = arc4_getbyte(); } ARC4_UNLOCK_(); -} +}*/ #ifndef ARC4RANDOM_NOUNIFORM /*