rops: init at 0.1.4 (#364869)
[NixPkgs.git] / pkgs / development / libraries / kde-frameworks / kdelibs4support / nix-kde-include-dir.patch
blobeabb702544830533d655b1c3bb68022a12ca1df5
1 Index: kdelibs4support-5.18.0/src/kdecore/kstandarddirs.cpp
2 ===================================================================
3 --- kdelibs4support-5.18.0.orig/src/kdecore/kstandarddirs.cpp
4 +++ kdelibs4support-5.18.0/src/kdecore/kstandarddirs.cpp
5 @@ -292,7 +292,7 @@ static QString relativeInstallPath(const
6 return QFile::decodeName(ICON_INSTALL_DIR "/");
8 if (strcmp("include", type) == 0) {
9 - return QFile::decodeName(INCLUDE_INSTALL_DIR "/");
10 + return QFile::decodeName(qgetenv("NIX_KDE_INCLUDE_DIR"));
12 break;
13 case 'l':