summaryrefslogtreecommitdiff
path: root/repo/devel/rust/alpine-move-py-scripts-to-share.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-25 22:50:03 +0100
committerdavidovski <david@davidovski.xyz>2022-05-25 22:50:03 +0100
commit7b0628f037dcbf85cfb381d5e05dea39a2059d33 (patch)
tree4a534ef861d19cdf5235b504af5be2a5d0becb71 /repo/devel/rust/alpine-move-py-scripts-to-share.patch
parent79062a39e9bcb9731adbacd0bd9bcd0b59d19d0a (diff)
fixed various broken dependencies
Diffstat (limited to 'repo/devel/rust/alpine-move-py-scripts-to-share.patch')
-rw-r--r--repo/devel/rust/alpine-move-py-scripts-to-share.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/devel/rust/alpine-move-py-scripts-to-share.patch b/repo/devel/rust/alpine-move-py-scripts-to-share.patch
new file mode 100644
index 0000000..21be36f
--- /dev/null
+++ b/repo/devel/rust/alpine-move-py-scripts-to-share.patch
@@ -0,0 +1,23 @@
+--- a/src/etc/rust-gdb
++++ b/src/etc/rust-gdb
+@@ -12,7 +12,7 @@
+
+ # Find out where the pretty printer Python module is
+ RUSTC_SYSROOT="$("$RUSTC" --print=sysroot)"
+-GDB_PYTHON_MODULE_DIRECTORY="$RUSTC_SYSROOT/lib/rustlib/etc"
++GDB_PYTHON_MODULE_DIRECTORY="$RUSTC_SYSROOT/share/rust/etc"
+
+ # Run GDB with the additional arguments that load the pretty printers
+ # Set the environment variable `RUST_GDB` to overwrite the call to a
+ # Set the environment variable `RUST_GDB` to overwrite the call to a
+--- a/src/etc/rust-lldb
++++ b/src/etc/rust-lldb
+@@ -8,7 +8,7 @@
+
+ # Find out where to look for the pretty printer Python module
+ RUSTC_SYSROOT=$(rustc --print sysroot)
+-RUST_LLDB="$RUSTC_SYSROOT/lib/rustlib/$host/bin/lldb"
++RUST_LLDB="$RUSTC_SYSROOT/share/rust/etc"
+
+ lldb=lldb
+ if [ -f "$RUST_LLDB" ]; then