![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / x11 / qt6-qtbase / patches / patch-src_corelib_io_qstandardpaths_unix.cpp (download)
Revision 1.1, Thu Nov 24 11:11:38 2022 UTC (2 months, 1 week ago) by nros
Add qt6-qtbase version 6.4.1 to pkgsrc-current Qt6-qtbase is version 6 of the qtbase package of the Qt C++ GUI framework. This commit also adds qt6 meta-package needed for versioning and to be filled with more packages. |
$NetBSD: patch-src_corelib_io_qstandardpaths_unix.cpp,v 1.1 2022/11/24 11:11:38 nros Exp $ Add ${PREFIX}/share to search path --- src/corelib/io/qstandardpaths_unix.cpp.orig 2015-10-13 04:35:31.000000000 +0000 +++ src/corelib/io/qstandardpaths_unix.cpp @@ -255,6 +255,7 @@ static QStringList xdgDataDirs() // http://standards.freedesktop.org/basedir-spec/latest/ QString xdgDataDirsEnv = QFile::decodeName(qgetenv("XDG_DATA_DIRS")); if (xdgDataDirsEnv.isEmpty()) { + dirs.append(QString::fromLatin1("@PREFIX@/share")); dirs.append(QString::fromLatin1("/usr/local/share")); dirs.append(QString::fromLatin1("/usr/share")); } else {