SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
x11/lxqt/libqtxdg/patches/patch-src_qtxdg_xdgdirs_cpp
Normal file
21
x11/lxqt/libqtxdg/patches/patch-src_qtxdg_xdgdirs_cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: src/qtxdg/xdgdirs.cpp
|
||||
--- src/qtxdg/xdgdirs.cpp.orig
|
||||
+++ src/qtxdg/xdgdirs.cpp
|
||||
@@ -266,7 +266,7 @@ QStringList XdgDirs::dataDirs(const QString &postfix)
|
||||
QStringList dirs = d.split(QLatin1Char(':'), Qt::SkipEmptyParts);
|
||||
|
||||
if (dirs.isEmpty()) {
|
||||
- dirs.append(QString::fromLatin1("/usr/local/share"));
|
||||
+ dirs.append(QString::fromLatin1("${LOCALBASE}/share"));
|
||||
dirs.append(QString::fromLatin1("/usr/share"));
|
||||
} else {
|
||||
QMutableListIterator<QString> it(dirs);
|
||||
@@ -289,7 +289,7 @@ QStringList XdgDirs::configDirs(const QString &postfix
|
||||
QStringList dirs;
|
||||
const QString env = QFile::decodeName(qgetenv("XDG_CONFIG_DIRS"));
|
||||
if (env.isEmpty())
|
||||
- dirs.append(QString::fromLatin1("/etc/xdg"));
|
||||
+ dirs.append(QString::fromLatin1("${SYSCONFDIR}/xdg"));
|
||||
else
|
||||
dirs = env.split(QLatin1Char(':'), Qt::SkipEmptyParts);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue