aboutsummaryrefslogtreecommitdiff
path: root/editors/helix/files/patch-helix-loader_src_lib.rs
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2022-03-30 22:35:40 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2022-03-30 22:36:04 +0000
commitecb3475434f22b6101a7422e667e809ef4c2991a (patch)
tree8afc379f1bbc9f7344948666d38d9c36f5dda497 /editors/helix/files/patch-helix-loader_src_lib.rs
parent6987652045875bd891ebc8710ac5b8163818f9b5 (diff)
downloadports-ecb3475434f22b6101a7422e667e809ef4c2991a.tar.gz
ports-ecb3475434f22b6101a7422e667e809ef4c2991a.zip
editors/helix: Update to 22.03
Reported by: portscout
Diffstat (limited to 'editors/helix/files/patch-helix-loader_src_lib.rs')
-rw-r--r--editors/helix/files/patch-helix-loader_src_lib.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/helix/files/patch-helix-loader_src_lib.rs b/editors/helix/files/patch-helix-loader_src_lib.rs
new file mode 100644
index 000000000000..4628916f98f7
--- /dev/null
+++ b/editors/helix/files/patch-helix-loader_src_lib.rs
@@ -0,0 +1,11 @@
+--- helix-loader/src/lib.rs.orig 2022-03-30 18:53:07 UTC
++++ helix-loader/src/lib.rs
+@@ -21,6 +21,8 @@ pub fn runtime_dir() -> std::path::PathBuf {
+ return std::path::PathBuf::from(dir).parent().unwrap().join(RT_DIR);
+ }
+
++ return std::path::PathBuf::from("%%DATADIR%%").join(RT_DIR);
++
+ // fallback to location of the executable being run
+ std::env::current_exe()
+ .ok()