summaryrefslogtreecommitdiff
path: root/experimental/firefox/rust-config.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-07 18:48:13 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-07 18:48:13 +0000
commit4e090d091db38befd4fc4fcb14795447efae504f (patch)
treed6d0bcb0c7b7561c4f3ec04f9dad4eb91ddd9352 /experimental/firefox/rust-config.patch
parentc5f8a52a58247448855b0b81bae867e5ab31cfef (diff)
downloadpackages-4e090d091db38befd4fc4fcb14795447efae504f.tar.gz
packages-4e090d091db38befd4fc4fcb14795447efae504f.tar.bz2
packages-4e090d091db38befd4fc4fcb14795447efae504f.tar.xz
packages-4e090d091db38befd4fc4fcb14795447efae504f.zip
experimental/firefox: new package (BROKEN)
Diffstat (limited to 'experimental/firefox/rust-config.patch')
-rw-r--r--experimental/firefox/rust-config.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/experimental/firefox/rust-config.patch b/experimental/firefox/rust-config.patch
new file mode 100644
index 000000000..4dbddc2a9
--- /dev/null
+++ b/experimental/firefox/rust-config.patch
@@ -0,0 +1,20 @@
+look, another reason to hate google: fuchsia's triplets confuse the hell out of poor mozconfig
+
+meanwhile, make -foxkit- more important than -unknown-
+
+--- thunderbird-60.2.1/build/moz.configure/rust.configure.old 2018-10-01 14:51:04.000000000 +0000
++++ thunderbird-60.2.1/build/moz.configure/rust.configure 2018-10-11 23:13:15.370000000 +0000
+@@ -119,9 +119,13 @@
+ ambiguous = set()
+ per_raw_os = {}
+ for t in out:
++ if 'fuchsia' in t: continue
+ t = split_triplet(t, allow_unknown=True)
+ key = (t.cpu, t.endianness, t.os)
+ if key in per_os:
++ # hax to allow Adélie toolchains to work
++ if 'foxkit' in per_os[key].alias:
++ continue
+ previous = per_os[key]
+ per_raw_os[(previous.cpu, previous.endianness,
+ previous.raw_os)] = previous