diff options
| author | Joseph Benden <joe@benden.us> | 2019-07-18 00:10:48 +0000 |
|---|---|---|
| committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-08-28 12:33:37 +0000 |
| commit | 641fc95383be633859e0c4cd1a22b95b3ef10c79 (patch) | |
| tree | 7cb0a88f781352d32de2fa1ca85b57cb60169182 /testing/thunderbird/fix-rust-target.patch | |
| parent | 76a5e58c61aa5b678248a6eff0937cdf4a924acb (diff) | |
| download | aports-641fc95383be633859e0c4cd1a22b95b3ef10c79.tar.bz2 aports-641fc95383be633859e0c4cd1a22b95b3ef10c79.tar.xz | |
testing/thunderbird: new aport
https://www.thunderbird.net/
Thunderbird email client with package for GPG encrypted email
(Enigmail).
Signed-off-by: Joseph Benden <joe@benden.us>
Diffstat (limited to 'testing/thunderbird/fix-rust-target.patch')
| -rw-r--r-- | testing/thunderbird/fix-rust-target.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/thunderbird/fix-rust-target.patch b/testing/thunderbird/fix-rust-target.patch new file mode 100644 index 0000000000..7dd760ca1d --- /dev/null +++ b/testing/thunderbird/fix-rust-target.patch @@ -0,0 +1,24 @@ +--- a/build/moz.configure/rust.configure ++++ b/build/moz.configure/rust.configure +@@ -181,9 +181,11 @@ + 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") ++ + # Check to see whether our rustc has a reasonably functional stdlib + # for our chosen target. +- target_arg = '--target=' + rustc_target.alias ++ target_arg = '--target=' + fixed_alias + 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 @@ + os.remove(out_path) + + # This target is usable. +- return rustc_target.alias ++ return fixed_alias + + return rust_target + |
