Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-09-21 19:18:18 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-09-21 19:18:18 +0200
commit304e6f088eddf653dde23c5c6877f7c951bee0f4 (patch)
tree1242fa510025151a30d886bf8c5b6ed80f60e98e
parentd33053e835cb907847878e34b5110aab240bc08b (diff)
extra/firefox: avoid another python check running OOM
-rw-r--r--extra/firefox/PKGBUILD9
-rw-r--r--extra/firefox/avoid-libxul-OOM-python-check.patch12
2 files changed, 21 insertions, 0 deletions
diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD
index 2ea1d935..846cd71a 100644
--- a/extra/firefox/PKGBUILD
+++ b/extra/firefox/PKGBUILD
@@ -99,3 +99,12 @@ eval "$(
'
)"
+# readelf: Error: Unable to seek to 0x801db328 for section headers
+source+=('avoid-libxul-OOM-python-check.patch')
+sha256sums+=('00b7019218d015a11670d566bff6d62872357c29ee7f9ef4d29a7f63c46227b6')
+eval "$(
+ declare -f prepare | \
+ sed '
+ $ i patch -p1 -i "$srcdir/avoid-libxul-OOM-python-check.patch"
+ '
+)"
diff --git a/extra/firefox/avoid-libxul-OOM-python-check.patch b/extra/firefox/avoid-libxul-OOM-python-check.patch
new file mode 100644
index 00000000..d9db28ab
--- /dev/null
+++ b/extra/firefox/avoid-libxul-OOM-python-check.patch
@@ -0,0 +1,12 @@
+diff -rauN a/config/rules.mk b/config/rules.mk
+--- a/config/rules.mk 2019-09-21 19:14:10.531026841 +0200
++++ b/config/rules.mk 2019-09-21 19:15:08.752873377 +0200
+@@ -660,7 +660,7 @@
+ $(RM) $@
+ endif
+ $(MKSHLIB) $($@_$(OBJS_VAR_SUFFIX)) $(RESFILE) $(LDFLAGS) $(STATIC_LIBS) $(RUST_STATIC_LIB) $(SHARED_LIBS) $(EXTRA_DSO_LDOPTS) $(MOZ_GLUE_LDFLAGS) $(OS_LIBS)
+- $(call py_action,check_binary,--target $@)
++# $(call py_action,check_binary,--target $@)
+
+ ifeq (_WINNT,$(GNU_CC)_$(OS_ARCH))
+ ifdef MSMANIFEST_TOOL