openbsd-ports/productivity/entomologist/patches/patch-main_cpp
landry f8ca79a47f Import entomologist 0.6:
The goal of Entomologist is to provide a cross-platform, open source
bug tracker client that works with multiple bug trackers (Bugzilla,
Launchpad, Mantis, Trac, etc) and provides an easier way to work with
bugs on the desktop.

With tweaks and ok jasper@ & 'what he said' ajacoutot@
2011-04-12 19:33:56 +00:00

13 lines
592 B
Plaintext

$OpenBSD: patch-main_cpp,v 1.1.1.1 2011/04/12 19:33:56 landry Exp $
--- main.cpp.orig Sun Apr 10 10:27:06 2011
+++ main.cpp Sun Apr 10 10:27:27 2011
@@ -39,7 +39,7 @@ int main(int argc, char *argv[])
a.installTranslator(&qtTranslator);
QTranslator translator;
- if (!translator.load(QString("entomologist_") + locale, "/usr/share/entomologist"))
+ if (!translator.load(QString("entomologist_") + locale, "${TRUEPREFIX}/share/entomologist"))
qDebug() << "Could not load locale file";
a.installTranslator(&translator);
a.setApplicationVersion(APP_VERSION);