diff options
author | T3slider <t3slider@gmail.com> | 2015-06-14 22:23:46 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-15 10:20:16 +0700 |
commit | b9e46de2b5364876dd1ec0f0b19508b294869b1f (patch) | |
tree | 18844f319710719b6f16854047a778d9ca2cdb73 /academic/kurso/datadir.patch | |
parent | 4689b00db89248843d64c4d2ccb86424c74d4148 (diff) |
academic/kurso: Added (a program for learning Esperanto).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/kurso/datadir.patch')
-rw-r--r-- | academic/kurso/datadir.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/academic/kurso/datadir.patch b/academic/kurso/datadir.patch new file mode 100644 index 0000000000000..f11c0727c79e2 --- /dev/null +++ b/academic/kurso/datadir.patch @@ -0,0 +1,16 @@ +diff -ur a/kurso4/main.cpp b/kurso4/main.cpp +--- a/kurso4/main.cpp 2012-06-08 22:08:38.000000000 -0400 ++++ b/kurso4/main.cpp 2015-06-13 19:56:29.789088113 -0400 +@@ -46,9 +46,12 @@ + QApplication a(argc, argv); + a.setApplicationName("Kurso4"); + ++ /* + Loko = QApplication::applicationDirPath(); + if (Loko.right(1) != "/") + Loko.append("/"); ++ */ ++ Loko = "/usr/share/kurso/"; + + QFontDatabase::addApplicationFont(":tiparoj/DejaVuSans.ttf"); + QFontDatabase::addApplicationFont(":tiparoj/DejaVuSans-Bold.ttf"); |