summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-24 00:15:23 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-24 00:15:23 +0900
commit3b2edb8ad79890e177be0d0cf334d3bbad5c5908 (patch)
tree4d4e9614a98d254e1ef8efc7aaa1af79e00779a2 /x11-terms/mlterm/files
parentx11-terms/mlterm: add gtk2 USE flag (diff)
downloadgentoo-3b2edb8ad79890e177be0d0cf334d3bbad5c5908.tar.gz
gentoo-3b2edb8ad79890e177be0d0cf334d3bbad5c5908.tar.bz2
gentoo-3b2edb8ad79890e177be0d0cf334d3bbad5c5908.zip
x11-terms/mlterm: update patch
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'x11-terms/mlterm/files')
-rw-r--r--x11-terms/mlterm/files/mlterm-font.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-terms/mlterm/files/mlterm-font.patch b/x11-terms/mlterm/files/mlterm-font.patch
index 205a748a04a1..c091a08b6130 100644
--- a/x11-terms/mlterm/files/mlterm-font.patch
+++ b/x11-terms/mlterm/files/mlterm-font.patch
@@ -6,12 +6,12 @@
#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("/usr/share/fonts/unifont/unifont.pcf.gz", &st) == 0) {
-+ font_file = "/usr/share/fonts/unifont/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 = "/usr/share/fonts/misc/10x20.pcf.gz";
++ font_file = XDATADIR "/fonts/misc/10x20.pcf.gz";
percent = 0;
}
#endif