aboutsummaryrefslogtreecommitdiffstats
path: root/community/firefox-esr/fix-rust-target.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-10-21 19:55:55 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-10-24 10:16:20 +0200
commit05e5fbf809000e016eee3fdfdaffb6e39a4956fd (patch)
tree5c6ef5bc875ccdecef396f02120e44f1a2c3deb2 /community/firefox-esr/fix-rust-target.patch
parentae617a2b7afb5b591757e922af2916226eddad41 (diff)
downloadaports-05e5fbf809000e016eee3fdfdaffb6e39a4956fd.tar.bz2
aports-05e5fbf809000e016eee3fdfdaffb6e39a4956fd.tar.xz
community/firefox-esr: security upgrade to 68.2.0, enable aarch64
Diffstat (limited to 'community/firefox-esr/fix-rust-target.patch')
-rw-r--r--community/firefox-esr/fix-rust-target.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/firefox-esr/fix-rust-target.patch b/community/firefox-esr/fix-rust-target.patch
index 8c4b6739ab..f81418efd2 100644
--- a/community/firefox-esr/fix-rust-target.patch
+++ b/community/firefox-esr/fix-rust-target.patch
@@ -1,10 +1,12 @@
--- a/build/moz.configure/rust.configure
+++ b/build/moz.configure/rust.configure
-@@ -280,9 +280,11 @@
+@@ -280,9 +280,13 @@
die("Don't know how to translate {} for rustc".format(
host_or_target.alias))
-+ fixed_alias = rustc_target.alias.replace("-unknown-", "-alpine-").replace("-gnu", "-musl")
++ fixed_alias = rustc_target.alias.replace("-gnu", "-musl")
++ if host_or_target.cpu != 'aarch64':
++ fixed_alias = fixed_alias.replace("-unknown-", "-alpine-")
+
# Check to see whether our rustc has a reasonably functional stdlib
# for our chosen target.
@@ -13,7 +15,7 @@
in_fd, in_path = mkstemp(prefix='conftest', suffix='.rs')
out_fd, out_path = mkstemp(prefix='conftest', suffix='.rlib')
os.close(out_fd)
-@@ -319,7 +321,7 @@
+@@ -319,7 +323,7 @@
os.remove(out_path)
# This target is usable.