summaryrefslogtreecommitdiff
path: root/app-shells/starship/files/starship-1.17.1-no-strip.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/starship/files/starship-1.17.1-no-strip.patch')
-rw-r--r--app-shells/starship/files/starship-1.17.1-no-strip.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/app-shells/starship/files/starship-1.17.1-no-strip.patch b/app-shells/starship/files/starship-1.17.1-no-strip.patch
new file mode 100644
index 000000000000..f62be9a00f07
--- /dev/null
+++ b/app-shells/starship/files/starship-1.17.1-no-strip.patch
@@ -0,0 +1,28 @@
+From d8f0a355fa04dc0ba1874c3e549ac962c578efd1 Mon Sep 17 00:00:00 2001
+From: Randy Barlow <randy@electronsweatshop.com>
+Date: Wed, 12 Jul 2023 20:20:45 -0400
+Subject: [PATCH] Do not strip executable
+
+This should be a choice for the user.
+
+Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
+---
+ Cargo.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index fb9e0a39..b2a38a6d 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -46,7 +46,7 @@
+ [profile.release]
+ lto = true
+ codegen-units = 1
+-strip = true
++strip = false
+
+ [[bin]]
+ name = "starship"
+--
+2.43.0
+