www-client/seamonkey: Fixed build with USE="-pulseaudio"
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 10 Mar 2020 23:43:46 +0000 (00:43 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 10 Mar 2020 23:48:30 +0000 (00:48 +0100)
Fixed build on x86
Adjusted disk space requirements

Closes: https://bugs.gentoo.org/711748
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
www-client/seamonkey/Manifest
www-client/seamonkey/seamonkey-2.53.1.ebuild

index 5635b7ed3dd9a61d9b0bc20ce3c083fe26c43512..c5f8cb56e1ae19e6f4679fa95e0de9c928bec9e8 100644 (file)
@@ -1,6 +1,6 @@
 DIST seamonkey-2.49.5-patches-01.tar.xz 14488 BLAKE2B 6619f5d8e034e72cac37ba2421ebcdd62a23054b118c40e0daabe6943a45b8b98ee3cfeb46ac60280d34d5bef5facc7bdadb01af23ad54631ad4dd2021d5b8d3 SHA512 f39cd1518d060a384fb2fcac1e394329ef3728f121a0b777233e1d2887cecc0a0df64530de344edfad098a462f048c031a4cd01828d9fe4a9e45f88035536196
 DIST seamonkey-2.49.5.source-l10n.tar.xz 11706060 BLAKE2B 24b8185cc958ac82433d7bbaab48f4ce4b6d18fd5299a6d2e24f804178f162edc9b29664e0f8437a69b767b8e3e6d0b860301de25daa89b4181af58ef1053c37 SHA512 eda23c334123e7fb060e93a5495b061e96a71944ce4216eee1dbf017d4803310da0882ff9fcf2c986e016ac8bbcca1fe7c2837dd04ea8208fe7127bf6e92afc5
 DIST seamonkey-2.49.5.source.tar.xz 231748204 BLAKE2B eeae383fabb596fdc25ab3a68f1c1161b6bb3aa2d1086b53b2f843047182e68cf9f8a0ce689e4b037068f08a0467b7911947415bc9f141b6c0ddc52e0a749d88 SHA512 31309def1ad4276f13ecb343e936c7cade4b6850db88d9d84700f86bff7024b2b217b9e50fc3756b1d1beea483ceaa2a5a3afd053da00f6ac06e3795e9116789
-DIST seamonkey-2.53.1-patches-01.tar.xz 59412 BLAKE2B 33266a36a7c50bd4fc124b104132268ec9276ad3620724a9adf6dbb54ef078dea945ccdfc5285ad09a56831269fa3bd03a1d5bba03e90152254cf6e8c5c6c5e3 SHA512 7387c6f4416c90db00fbbeec951bf7961e4ca980beb0d3a4cd6385c94524d7da13619d84b5f4f4c83b4e5641a9970493c3bfbdabc86333a2626a848587a2fc76
+DIST seamonkey-2.53.1-patches-02.tar.xz 73596 BLAKE2B 79136ce3ffb93bd76ada89458df7a1ef360dc59f68716a987a63ed8074963a2673d766d63e99947120fc000e3809377a7bf852feb3f6ea385f52ee1c9a44772a SHA512 80a23c65f4dbef05e3cc16bc4ffe4dd3e8f5312641dc02b5f92de70e322771a702aa9ae486e5e5e5b5a659aec46b5b931dc8c6f575612cbd5e6aaa0c0ee43fe7
 DIST seamonkey-2.53.1.source-l10n.tar.xz 11423472 BLAKE2B ce577c8fd5ff10fdfe5a9f8725cacf2801ed2d4fc66f9535ec1a57e2a613d87925bbccd1293aef8d86c329a221d6f0a5f694b16c8762e2aceed1b4c60cf5883c SHA512 52bc7d82e935abb67778a6fcdab6a9e6d66a196d0962c59ddddae4ae854e1cd0e923016b13afa55df7a3f3997014fc38e729605d449a170a7ff96b905c7ea084
 DIST seamonkey-2.53.1.source.tar.xz 290149116 BLAKE2B 613625df9f364550b1456a8f4afad012469e0740d3e084cf2d4e94b22389d2a8de5fa5012bcb8c6139e092054cfd2214d3d93e562a522f76009b6e5e3b5f406d SHA512 67c8a5343070948a88f1184a4f0c6ec720f9d43910165812b05a2a1bed8b698de2860d75b4bbf831f23c750fb521f50afa44ddc13835047f517a1407892ede3f
index 7025807df72c1e4eb47536a10c865aec54d3240d..4c739fd8d3bb0e428bd18cc7bb29b6767f4010bd 100644 (file)
@@ -36,7 +36,7 @@ MOZ_GENERATE_LANGPACKS=1
 MOZ_L10N_SOURCEDIR="${S}/${P}-l10n"
 inherit autotools check-reqs flag-o-matic mozcoreconf-v6 mozextension mozlinguas-v2 nsplugins pax-utils toolchain-funcs xdg-utils
 
-PATCH="${PN}-2.53.1-patches-01"
+PATCH="${PN}-2.53.1-patches-02"
 
 DESCRIPTION="Seamonkey Web Browser"
 HOMEPAGE="http://www.seamonkey-project.org"
@@ -155,9 +155,9 @@ pkg_setup() {
 pkg_pretend() {
        # Ensure we have enough disk space to compile
        if use debug || use test ; then
-               CHECKREQS_DISK_BUILD="8G"
+               CHECKREQS_DISK_BUILD="16G"
        else
-               CHECKREQS_DISK_BUILD="4G"
+               CHECKREQS_DISK_BUILD="12G"
        fi
        check-reqs_pkg_setup
 }
@@ -331,7 +331,6 @@ src_configure() {
        mozconfig_use_enable pulseaudio
        # force the deprecated alsa sound code if pulseaudio is disabled
        if use kernel_linux && ! use pulseaudio ; then
-               mozconfig_annotate '-pulseaudio' --disable-pulseaudio
                mozconfig_annotate '-pulseaudio' --enable-alsa
        fi
 
@@ -369,6 +368,9 @@ src_configure() {
        # It doesn't compile on alpha without this LDFLAGS
        use alpha && append-ldflags "-Wl,--no-relax"
 
+       # Linking fails without this due to memory exhaustion
+       use x86 && append-ldflags "-Wl,--no-keep-memory"
+
        if ! use chatzilla ; then
                MEXTENSIONS+=",-irc"
        fi