diff options
author | Marius Bakke <marius@gnu.org> | 2020-06-13 22:52:25 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-06-13 22:52:25 +0200 |
commit | 8ab70bae52f8d4b6356ec3b8a88cebf9debe8520 (patch) | |
tree | 6e13e1de3c9addac9dad5d9f194c229baa3b59ab /gnu/packages/patches/kinit-kdeinit-extra_libs.patch | |
parent | 9bc516bada71e1437d73971584bff5e72e053dbe (diff) | |
parent | 8ea91d05b0fd16a8dd42a53efee9b16991d581b9 (diff) |
Merge branch 'staging'
Diffstat (limited to 'gnu/packages/patches/kinit-kdeinit-extra_libs.patch')
-rw-r--r-- | gnu/packages/patches/kinit-kdeinit-extra_libs.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/patches/kinit-kdeinit-extra_libs.patch b/gnu/packages/patches/kinit-kdeinit-extra_libs.patch index c3c4ce1161..1271f3df7d 100644 --- a/gnu/packages/patches/kinit-kdeinit-extra_libs.patch +++ b/gnu/packages/patches/kinit-kdeinit-extra_libs.patch @@ -42,12 +42,12 @@ pkgs/development/libraries/kde-frameworks/kinit/kdeinit-extra_libs.patch extern "C" { static void secondary_child_handler(int) -@@ -1689,7 +1693,7 @@ +@@ -1673,7 +1673,7 @@ + #if defined(Q_OS_UNIX) && !defined(Q_OS_OSX) if (!d.suicide && qEnvironmentVariableIsEmpty("KDE_IS_PRELINKED")) { - const int extrasCount = sizeof(extra_libs) / sizeof(extra_libs[0]); - for (int i = 0; i < extrasCount; i++) { -- const QString extra = findSharedLib(QString::fromLatin1(extra_libs[i])); -+ const QString extra = QString::fromLatin1(extra_libs[i]); + for (const char *extra_lib : extra_libs) { +- const QString extra = findSharedLib(QString::fromLatin1(extra_lib)); ++ const QString extra = QString::fromLatin1(extra_lib); if (!extra.isEmpty()) { QLibrary l(extra); l.setLoadHints(QLibrary::ExportExternalSymbolsHint); |