aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/python3.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-04-07 09:50:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-04-09 07:37:32 +0000
commit7bb907ec23f7672218ff018e4fdefdea2048ac23 (patch)
tree3d3c3801feb6c1a3f78422730b939b31b6eb7c4f /community/rust/python3.patch
parentc5f99bf2f9fd24e470ced2f09154f5171f0a7a0e (diff)
downloadaports-7bb907ec23f7672218ff018e4fdefdea2048ac23.tar.bz2
aports-7bb907ec23f7672218ff018e4fdefdea2048ac23.tar.xz
community/rust: unify triples on all architectures
Rebuild with target=$CTARGET to fix the tripliet to be consistent on all arches. also use python3 fixes #11349
Diffstat (limited to 'community/rust/python3.patch')
-rw-r--r--community/rust/python3.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/rust/python3.patch b/community/rust/python3.patch
new file mode 100644
index 0000000000..5a9a53dec6
--- /dev/null
+++ b/community/rust/python3.patch
@@ -0,0 +1,12 @@
+diff --git a/configure b/configure
+index eeb8d08..81e2001 100755
+--- a/configure
++++ b/configure
+@@ -11,6 +11,7 @@ try() {
+ fi
+ }
+
++try python3 "$@"
+ try python2.7 "$@"
+ try python27 "$@"
+ try python2 "$@"