diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-terms/mlterm/files/mlterm-font.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-terms/mlterm/files/mlterm-font.patch')
-rw-r--r-- | x11-terms/mlterm/files/mlterm-font.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-terms/mlterm/files/mlterm-font.patch b/x11-terms/mlterm/files/mlterm-font.patch new file mode 100644 index 000000000000..c091a08b6130 --- /dev/null +++ b/x11-terms/mlterm/files/mlterm-font.patch @@ -0,0 +1,17 @@ +--- a/uitoolkit/fb/ui_font.c ++++ b/uitoolkit/fb/ui_font.c +@@ -1625,11 +1625,11 @@ + } + percent = 0; + #else /* __linux__ */ +- if (stat("/usr/share/fonts/X11/misc/unifont.pcf.gz", &st) == 0) { +- font_file = "/usr/share/fonts/X11/misc/unifont.pcf.gz"; ++ if (stat(XDATADIR "/fonts/unifont/unifont.pcf.gz", &st) == 0) { ++ font_file = XDATADIR "/fonts/unifont/unifont.pcf.gz"; + percent = 100; + } else { +- font_file = "/usr/share/fonts/X11/misc/10x20.pcf.gz"; ++ font_file = XDATADIR "/fonts/misc/10x20.pcf.gz"; + percent = 0; + } + #endif |