From 26d50f213699b051562ecb7d443127a4f1ba2f7e Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 10 Aug 2022 18:50:54 +0000 Subject: Wed Aug 10 18:50:54 UTC 2022 a/kernel-firmware-20220810_ad5ae82-noarch-1.txz: Upgraded. d/binutils-2.39-x86_64-1.txz: Upgraded. d/oprofile-1.4.0-x86_64-10.txz: Rebuilt. Recompiled against binutils-2.39. l/gdk-pixbuf2-2.42.9-x86_64-1.txz: Upgraded. l/nodejs-18.7.0-x86_64-1.txz: Upgraded. Might as well go with the latest version of this since everyone else does. Fixed a sed substitution to get the correct lib${LIBDIRSUFFIX} in npm.js. Thanks to conraid and zerouno. n/gpgme-1.18.0-x86_64-1.txz: Upgraded. n/libnftnl-1.2.3-x86_64-1.txz: Upgraded. n/nfs-utils-2.6.2-x86_64-1.txz: Upgraded. n/nftables-1.0.5-x86_64-1.txz: Upgraded. --- source/xap/seamonkey/arc4random_buf.glibc-2.36.diff | 18 ++++++++++++++++++ source/xap/seamonkey/seamonkey.SlackBuild | 5 ++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 source/xap/seamonkey/arc4random_buf.glibc-2.36.diff (limited to 'source/xap') diff --git a/source/xap/seamonkey/arc4random_buf.glibc-2.36.diff b/source/xap/seamonkey/arc4random_buf.glibc-2.36.diff new file mode 100644 index 000000000..d4131c0a2 --- /dev/null +++ b/source/xap/seamonkey/arc4random_buf.glibc-2.36.diff @@ -0,0 +1,18 @@ +--- ./ipc/chromium/src/third_party/libevent/arc4random.c.orig 2022-08-04 14:57:57.000000000 -0500 ++++ ./ipc/chromium/src/third_party/libevent/arc4random.c 2022-08-06 14:40:21.569033657 -0500 +@@ -484,6 +484,7 @@ + } + #endif + ++#if 0 + ARC4RANDOM_EXPORT void + arc4random_buf(void *buf_, size_t n) + { +@@ -497,6 +498,7 @@ + } + ARC4_UNLOCK_(); + } ++#endif + + #ifndef ARC4RANDOM_NOUNIFORM + /* diff --git a/source/xap/seamonkey/seamonkey.SlackBuild b/source/xap/seamonkey/seamonkey.SlackBuild index 134e2b32a..1af462592 100755 --- a/source/xap/seamonkey/seamonkey.SlackBuild +++ b/source/xap/seamonkey/seamonkey.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2020, 2021, 2022 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -139,6 +139,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +# Don't define a function that's included starting in glibc-2.36: +zcat $CWD/arc4random_buf.glibc-2.36.diff.gz | patch -p1 --verbose || exit 1 + # Our building options, in a configure-like display ;) OPTIONS="\ --prefix=/usr \ -- cgit v1.2.3-79-gdb01