pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust: fix patch so that earmv6hf is recognized and handled.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Wed Oct 26 12:47:56 2022 +0000
Changeset: 58c1b1387b1bb19c9ffd93f4685a7454d3437265
Modified Files:
rust/patches/patch-src_bootstrap_bootstrap.py
Log Message:
rust: fix patch so that earmv6hf is recognized and handled.
Thanks to Brad Spencer for spotting this.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=58c1b1387b1bb19c9ffd93f4685a7454d3437265
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust/patches/patch-src_bootstrap_bootstrap.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffs:
diff --git a/rust/patches/patch-src_bootstrap_bootstrap.py b/rust/patches/patch-src_bootstrap_bootstrap.py
index 9cce072657..0697011f04 100644
--- a/rust/patches/patch-src_bootstrap_bootstrap.py
+++ b/rust/patches/patch-src_bootstrap_bootstrap.py
@@ -1,7 +1,7 @@
$NetBSD: patch-src_bootstrap_bootstrap.py,v 1.4 2020/02/17 20:24:18 jperkin Exp $
Use `uname -p` on NetBSD, as that is reliable and sensible there.
-Handle earmv7hf for NetBSD.
+Handle earmv[67]hf for NetBSD.
Default to non-verbose compilation.
--- src/bootstrap/bootstrap.py.orig 2022-09-19 14:07:21.000000000 +0000
@@ -31,7 +31,7 @@ Default to non-verbose compilation.
else:
ostype += 'eabihf'
- elif cputype in {'armv7l', 'armv8l'}:
-+ elif cputype == 'armv6hf':
++ elif cputype in {'armv6hf', 'earmv6hf'}:
+ cputype = 'armv6'
+ if ostype == 'unknown-netbsd':
+ ostype += '-eabihf'
Home |
Main Index |
Thread Index |
Old Index