From db463eae80378884b86c447437beb30bd8e33caf Mon Sep 17 00:00:00 2001 From: bill-auger Date: Thu, 16 Jun 2022 16:32:33 -0400 Subject: [iceweasel]: patch for cbindgen v0.24 --- libre/iceweasel/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libre') diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index a20ebd04e..d6c806171 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -246,6 +246,13 @@ ac_add_options --disable-eme END + # FIXME: FTBS with cbindgen > 0.23 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1773259 + if [[ "${CARCH}" != i686 ]] # cbindgen i686 is currrently 0.23 + then sed -i '/const uint64_t ROOT_CLIP_CHAIN = ~0;/d' gfx/webrender_bindings/webrender_ffi.h + fi + + ## [ARCH-SPECIFIC CONFIG] ## case ${CARCH} in @@ -514,6 +521,9 @@ build() { armv7h) ;; i686) + # /usr/bin/ld.bfd: error: libxul.so(.debug_info) is too large (0x54c5369a bytes) + options=( ${options[*]/\!strip/} ) + # avoid excessive debug symbols in rust leading to out-of-memory situations sed -i "s/debug_info = '\''2'\''/debug_info = '\''0'\''/" build/moz.configure/toolchain.configure ;; -- cgit v1.2.3