summaryrefslogtreecommitdiffstats
path: root/graphics/lcdtest/font-path.diff
diff options
context:
space:
mode:
author Taxis2011-03-04 18:20:47 +0100
committer Robby Workman2011-03-08 19:14:44 +0100
commitf6064089f376eaa2f03fde1e6e10103140acaf9e (patch)
tree340915806a2a1feb8e1ea0085bb473d3c28795ad /graphics/lcdtest/font-path.diff
parent580063bebbecd33e4ecfa8feb124243bfd69ecaf (diff)
downloadslackbuilds-f6064089f376eaa2f03fde1e6e10103140acaf9e.tar.gz
graphics/lcdtest: Added (utility to display LCD monitor test patterns)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/lcdtest/font-path.diff')
-rw-r--r--graphics/lcdtest/font-path.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/lcdtest/font-path.diff b/graphics/lcdtest/font-path.diff
new file mode 100644
index 0000000000..210ad6e6f9
--- /dev/null
+++ b/graphics/lcdtest/font-path.diff
@@ -0,0 +1,13 @@
+diff -rup lcdtest-1.18.orig/src/lcdtest.c lcdtest-1.18/src/lcdtest.c
+--- lcdtest-1.18.orig/src/lcdtest.c 2010-01-26 09:26:30.000000000 +0300
++++ lcdtest-1.18/src/lcdtest.c 2011-02-01 16:31:37.000000000 +0300
+@@ -742,7 +742,8 @@ int enumerate_sdl_modes (int *width, int
+ }
+
+
+-const char font_path [] = "/usr/share/fonts/liberation/LiberationMono-Regular.ttf";
++//const char font_path [] = "/usr/share/fonts/liberation/LiberationMono-Regular.ttf";
++const char font_path [] = "/usr/share/fonts/TTF/LiberationMono-Regular.ttf";
+
+ int main (int argc, char *argv [])
+ {