diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-puzzle/tanglet/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-puzzle/tanglet/files')
-rw-r--r-- | games-puzzle/tanglet/files/tanglet-1.5.2-gentoo.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games-puzzle/tanglet/files/tanglet-1.5.2-gentoo.patch b/games-puzzle/tanglet/files/tanglet-1.5.2-gentoo.patch new file mode 100644 index 000000000000..8409f2cc48cf --- /dev/null +++ b/games-puzzle/tanglet/files/tanglet-1.5.2-gentoo.patch @@ -0,0 +1,33 @@ +--- a/src/src.pro 2018-05-29 13:11:55.000000000 +0200 ++++ b/src/src.pro 2018-07-11 20:02:51.415773874 +0200 +@@ -99,7 +99,7 @@ + RESOURCES += ../icons/icon.qrc + + isEmpty(PREFIX) { +- PREFIX = /usr/local ++ PREFIX = /usr + } + isEmpty(BINDIR) { + BINDIR = bin +--- a/src/locale_dialog.cpp ++++ b/src/locale_dialog.cpp +@@ -85,7 +85,7 @@ + if (paths.isEmpty()) { + QString appdir = QCoreApplication::applicationDirPath(); + paths.append(appdir); +- paths.append(appdir + "/../share/" + QCoreApplication::applicationName().toLower()); ++ paths.append("/usr/share"); + paths.append(appdir + "/../Resources"); + } + foreach (const QString& path, paths) { +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -46,7 +46,7 @@ + QString path = app.applicationDirPath(); + QStringList paths; + paths.append(path + "/data/"); +- paths.append(path + "/../share/tanglet/data/"); ++ paths.append("/usr/share/data/"); + paths.append(path + "/../Resources/data/"); + QDir::setSearchPaths("tanglet", paths); + |