aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/alpine-move-py-scripts-to-share.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-10-25 22:07:14 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-10-25 23:18:24 +0200
commit7ba0138bae17fb39f18c8113d3684606fe6567f5 (patch)
treec3db9286b006b447f1407d303497721ecb1473c6 /community/rust/alpine-move-py-scripts-to-share.patch
parent86e7728933a3320cd978d015a891d56f55e583f6 (diff)
downloadaports-7ba0138bae17fb39f18c8113d3684606fe6567f5.tar.bz2
aports-7ba0138bae17fb39f18c8113d3684606fe6567f5.tar.xz
community/rust: upgrade to 1.30.0
Diffstat (limited to 'community/rust/alpine-move-py-scripts-to-share.patch')
-rw-r--r--community/rust/alpine-move-py-scripts-to-share.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/community/rust/alpine-move-py-scripts-to-share.patch b/community/rust/alpine-move-py-scripts-to-share.patch
index 261e62a84a..44d3320b39 100644
--- a/community/rust/alpine-move-py-scripts-to-share.patch
+++ b/community/rust/alpine-move-py-scripts-to-share.patch
@@ -11,12 +11,12 @@
# Set the environment variable `RUST_GDB` to overwrite the call to a
--- a/src/etc/rust-lldb
+++ b/src/etc/rust-lldb
-@@ -33,7 +33,7 @@
- RUSTC_SYSROOT=`rustc --print sysroot`
+@@ -35,7 +35,7 @@
+ fi
- # Write the LLDB script to the tempfile
--echo "command script import \"$RUSTC_SYSROOT/lib/rustlib/etc/lldb_rust_formatters.py\"" >> $TMPFILE
-+echo "command script import \"$RUSTC_SYSROOT/share/rust/etc/lldb_rust_formatters.py\"" >> $TMPFILE
- echo "type summary add --no-value --python-function lldb_rust_formatters.print_val -x \".*\" --category Rust" >> $TMPFILE
- echo "type category enable Rust" >> $TMPFILE
+ # Prepare commands that will be loaded before any file on the command line has been loaded
+-script_import="command script import \"$RUSTC_SYSROOT/lib/rustlib/etc/lldb_rust_formatters.py\""
++script_import="command script import \"$RUSTC_SYSROOT/share/rust/etc/lldb_rust_formatters.py\""
+ category_definition="type summary add --no-value --python-function lldb_rust_formatters.print_val -x \".*\" --category Rust"
+ category_enable="type category enable Rust"