diff options
Diffstat (limited to 'editors/lapce/files')
-rw-r--r-- | editors/lapce/files/patch-Cargo.lock | 6 | ||||
-rw-r--r-- | editors/lapce/files/patch-cargo-crates_fontdb-0.23.0_src_lib.rs | 23 |
2 files changed, 26 insertions, 3 deletions
diff --git a/editors/lapce/files/patch-Cargo.lock b/editors/lapce/files/patch-Cargo.lock index 5855975e4a8d..b1b62609844d 100644 --- a/editors/lapce/files/patch-Cargo.lock +++ b/editors/lapce/files/patch-Cargo.lock @@ -1,6 +1,6 @@ ---- Cargo.lock.orig 2025-08-30 05:01:02 UTC +--- Cargo.lock.orig 2025-09-05 16:15:14 UTC +++ Cargo.lock -@@ -4010,15 +4010,6 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178 +@@ -4003,15 +4003,6 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178 checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] @@ -16,7 +16,7 @@ name = "openssl-sys" version = "0.9.106" source = "registry+https://github.com/rust-lang/crates.io-index" -@@ -4026,7 +4017,6 @@ dependencies = [ +@@ -4019,7 +4010,6 @@ dependencies = [ dependencies = [ "cc", "libc", diff --git a/editors/lapce/files/patch-cargo-crates_fontdb-0.23.0_src_lib.rs b/editors/lapce/files/patch-cargo-crates_fontdb-0.23.0_src_lib.rs new file mode 100644 index 000000000000..523480dda61a --- /dev/null +++ b/editors/lapce/files/patch-cargo-crates_fontdb-0.23.0_src_lib.rs @@ -0,0 +1,23 @@ +--- cargo-crates/fontdb-0.23.0/src/lib.rs.orig 2006-07-24 01:21:28 UTC ++++ cargo-crates/fontdb-0.23.0/src/lib.rs +@@ -485,7 +485,7 @@ impl Database { + fn load_no_fontconfig(&mut self) { + let mut seen = Default::default(); + self.load_fonts_dir_impl("/usr/share/fonts/".as_ref(), &mut seen); +- self.load_fonts_dir_impl("/usr/local/share/fonts/".as_ref(), &mut seen); ++ self.load_fonts_dir_impl("%%PREFIX%%/share/fonts/".as_ref(), &mut seen); + + if let Ok(ref home) = std::env::var("HOME") { + let home_path = std::path::Path::new(home); +@@ -527,9 +527,9 @@ impl Database { + }; + + if read_global { +- let _ = fontconfig.merge_config(Path::new("/etc/fonts/local.conf")); ++ let _ = fontconfig.merge_config(Path::new("%%PREFIX%%/etc/fonts/local.conf")); + } +- let _ = fontconfig.merge_config(Path::new("/etc/fonts/fonts.conf")); ++ let _ = fontconfig.merge_config(Path::new("%%PREFIX%%/etc/fonts/fonts.conf")); + } + + for fontconfig_parser::Alias { |