summaryrefslogtreecommitdiff
path: root/editors/kibi/files/patch-src_unix.rs
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-09-04 01:29:37 +0000
committerSteve Wills <swills@FreeBSD.org>2020-09-04 01:29:37 +0000
commiteeb5d3b0ec7ad76a0d0100ba59deee576e79948a (patch)
tree18f28e45022b865d4fe7c1e2c06319d5f084f183 /editors/kibi/files/patch-src_unix.rs
parentx11/xob: create port (diff)
editors/kibi: create port
Configurable text editor with UTF-8 support, incremental search, syntax highlighting, line numbers and more, written in less than 1024 lines of Rust with minimal dependencies. WWW: https://github.com/ilai-deutel/kibi PR: 246340 Submitted by: Lewis Cook <vulcan@wired.sh>
Notes
Notes: svn path=/head/; revision=547495
Diffstat (limited to 'editors/kibi/files/patch-src_unix.rs')
-rw-r--r--editors/kibi/files/patch-src_unix.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/kibi/files/patch-src_unix.rs b/editors/kibi/files/patch-src_unix.rs
new file mode 100644
index 000000000000..18e8668c5e2a
--- /dev/null
+++ b/editors/kibi/files/patch-src_unix.rs
@@ -0,0 +1,11 @@
+--- src/unix.rs.orig 2020-04-24 08:39:34 UTC
++++ src/unix.rs
+@@ -39,7 +39,7 @@ fn xdg_dirs(xdg_type: &str, def_home_suffix: &str, def
+ }
+
+ /// Return configuration directories for UNIX systems
+-pub fn conf_dirs() -> Vec<String> { xdg_dirs("CONFIG", "/.config", "/etc/xdg:/etc") }
++pub fn conf_dirs() -> Vec<String> { xdg_dirs("CONFIG", "/.config", "/etc/xdg:%%PREFIX%%/etc") }
+
+ /// Return syntax directories for UNIX systems
+ pub fn data_dirs() -> Vec<String> {