pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox/patches Add a forgotten patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ed6843e918a
branches:  trunk
changeset: 403527:3ed6843e918a
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Oct 28 13:04:29 2019 +0000

description:
Add a forgotten patch

diffstat:

 www/firefox/patches/patch-build_moz.configure_rust.configure |  17 ++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r f41d9e448916 -r 3ed6843e918a www/firefox/patches/patch-build_moz.configure_rust.configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-build_moz.configure_rust.configure      Mon Oct 28 13:04:29 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-build_moz.configure_rust.configure,v 1.6 2019/10/28 13:04:29 ryoon Exp $
+
+* Do not match rumprun toolchain for NetBSD,
+  narrowed should be one not two.
+
+--- build/moz.configure/rust.configure.orig    2019-10-10 18:07:24.000000000 +0000
++++ build/moz.configure/rust.configure
+@@ -321,7 +321,8 @@ def rust_triple_alias(host_or_target, ho
+             narrowed = [
+                 c for c in candidates
+                 if c.target.raw_os == host_or_target.raw_os and
+-                   c.target.raw_cpu == host_or_target.raw_cpu
++                   c.target.raw_cpu == host_or_target.raw_cpu and
++                   not c.rust_target.endswith("-rumprun-netbsd")
+             ]
+             if len(narrowed) == 1:
+                 return narrowed[0].rust_target



Home | Main Index | Thread Index | Old Index