summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-10-01 09:17:00 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-10-01 09:17:20 +0200
commite8ed22928a495238667b50d66e83041341ef9611 (patch)
tree7e1d09dc8bb91c554abf218c6b46104b00cb05b6 /www-client
parentdev-perl/BZ-Client: Bump to version 4.400.300 (diff)
downloadgentoo-e8ed22928a495238667b50d66e83041341ef9611.tar.gz
gentoo-e8ed22928a495238667b50d66e83041341ef9611.tar.bz2
gentoo-e8ed22928a495238667b50d66e83041341ef9611.zip
www-client/seamonkey: Fixed build with glibc-2.32
Closes: https://bugs.gentoo.org/736892 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/seamonkey/files/seamonkey-2.53.2-sysctl.patch15
-rw-r--r--www-client/seamonkey/seamonkey-2.53.4.ebuild1
2 files changed, 16 insertions, 0 deletions
diff --git a/www-client/seamonkey/files/seamonkey-2.53.2-sysctl.patch b/www-client/seamonkey/files/seamonkey-2.53.2-sysctl.patch
new file mode 100644
index 000000000000..4ad673bed603
--- /dev/null
+++ b/www-client/seamonkey/files/seamonkey-2.53.2-sysctl.patch
@@ -0,0 +1,15 @@
+https://src.fedoraproject.org/rpms/seamonkey/c/f3de8ae056fcb36615add0e6311cff147fbdd827?branch=master
+https://bugs.gentoo.org/736892
+
+--- seamonkey-2.53.2/mozilla/memory/build/mozjemalloc.cpp
++++ seamonkey-2.53.2/mozilla/memory/build/mozjemalloc.cpp
+@@ -220,9 +220,6 @@
+ #include <sys/param.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
+-#if !defined(XP_SOLARIS) && !defined(ANDROID)
+-#include <sys/sysctl.h>
+-#endif
+ #include <sys/uio.h>
+
+ #include <errno.h>
diff --git a/www-client/seamonkey/seamonkey-2.53.4.ebuild b/www-client/seamonkey/seamonkey-2.53.4.ebuild
index ef146756d3d7..5952eb2130de 100644
--- a/www-client/seamonkey/seamonkey-2.53.4.ebuild
+++ b/www-client/seamonkey/seamonkey-2.53.4.ebuild
@@ -188,6 +188,7 @@ src_prepare() {
done
use system-libvpx && eapply "${WORKDIR}/${PN}-2.53.3-system_libvpx-1.8.patch"
+ eapply "${FILESDIR}/${PN}-2.53.2-sysctl.patch" #736892
# Allow user to apply any additional patches without modifing ebuild
eapply_user