From 6ad5a90343bf92675adb68d95393ca570a5f9323 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 26 Oct 2018 15:06:53 +0200 Subject: [PATCH] thunderbird: fix build with newer rust --- srcpkgs/thunderbird/patches/fix-rust-1.29.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/thunderbird/patches/fix-rust-1.29.patch diff --git a/srcpkgs/thunderbird/patches/fix-rust-1.29.patch b/srcpkgs/thunderbird/patches/fix-rust-1.29.patch new file mode 100644 index 00000000000..e48c93a9dce --- /dev/null +++ b/srcpkgs/thunderbird/patches/fix-rust-1.29.patch @@ -0,0 +1,14 @@ +--- build/moz.configure/rust.configure.orig 2018-10-26 15:02:30.276600157 +0200 ++++ build/moz.configure/rust.configure 2018-10-26 15:02:14.081581242 +0200 +@@ -119,7 +119,10 @@ def rust_supported_targets(rustc): + ambiguous = set() + per_raw_os = {} + for t in out: +- t = split_triplet(t, allow_unknown=True) ++ try: ++ t = split_triplet(t, allow_unknown=True) ++ except: ++ continue + key = (t.cpu, t.endianness, t.os) + if key in per_os: + previous = per_os[key]