summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2022-06-16 16:32:33 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2022-06-23 05:40:41 -0400
commitdb463eae80378884b86c447437beb30bd8e33caf (patch)
tree49b3cee7f0c41bb1a14b90b4ddc424acd6ba959d /libre
parent3e5f817d054d48436eae2515dac808dd4fce0126 (diff)
downloadabslibre-db463eae80378884b86c447437beb30bd8e33caf.tar.gz
abslibre-db463eae80378884b86c447437beb30bd8e33caf.tar.bz2
abslibre-db463eae80378884b86c447437beb30bd8e33caf.zip
[iceweasel]: patch for cbindgen v0.24
Diffstat (limited to 'libre')
-rw-r--r--libre/iceweasel/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
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
;;