SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
lang/rust/patches/patch-src_etc_rust-gdb
Normal file
14
lang/rust/patches/patch-src_etc_rust-gdb
Normal file
|
@ -0,0 +1,14 @@
|
|||
use egdb (gdb from ports)
|
||||
|
||||
Index: src/etc/rust-gdb
|
||||
--- src/etc/rust-gdb.orig
|
||||
+++ src/etc/rust-gdb
|
||||
@@ -19,7 +19,7 @@ RUSTC_COMMIT_HASH="$("$RUSTC" -vV | sed -n 's/commit-h
|
||||
# Run GDB with the additional arguments that load the pretty printers
|
||||
# Set the environment variable `RUST_GDB` to overwrite the call to a
|
||||
# different/specific command (defaults to `gdb`).
|
||||
-RUST_GDB="${RUST_GDB:-gdb}"
|
||||
+RUST_GDB="${RUST_GDB:-egdb}"
|
||||
PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" exec ${RUST_GDB} \
|
||||
--directory="$GDB_PYTHON_MODULE_DIRECTORY" \
|
||||
-iex "add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY" \
|
Loading…
Add table
Add a link
Reference in a new issue