aboutsummaryrefslogtreecommitdiffstats
path: root/testing/thunderbird/fix-rust-target.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-10-26 17:04:12 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-10-26 23:11:17 +0200
commit7e130731a332e3d5d593b52869e2f4e02da33f59 (patch)
tree5078b4359f3939c406c071405faea8bedc516154 /testing/thunderbird/fix-rust-target.patch
parent00be3a44472d6239a5052218d41d055fba9b3634 (diff)
downloadaports-7e130731a332e3d5d593b52869e2f4e02da33f59.tar.bz2
aports-7e130731a332e3d5d593b52869e2f4e02da33f59.tar.xz
testing/thunderbird: upgrade to 68.2.0
Diffstat (limited to 'testing/thunderbird/fix-rust-target.patch')
-rw-r--r--testing/thunderbird/fix-rust-target.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/thunderbird/fix-rust-target.patch b/testing/thunderbird/fix-rust-target.patch
index 7dd760ca1d..f81418efd2 100644
--- a/testing/thunderbird/fix-rust-target.patch
+++ b/testing/thunderbird/fix-rust-target.patch
@@ -1,10 +1,12 @@
--- a/build/moz.configure/rust.configure
+++ b/build/moz.configure/rust.configure
-@@ -181,9 +181,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)
-@@ -220,7 +222,7 @@
+@@ -319,7 +323,7 @@
os.remove(out_path)
# This target is usable.