diff options
author | Fathi Boudra <fabo@kde.org> | 2010-02-04 11:52:56 +0100 |
---|---|---|
committer | Fathi Boudra <fabo@kde.org> | 2010-02-04 11:52:56 +0100 |
commit | d6caf6f99a3d18b391b99053e4a499c2708e589a (patch) | |
tree | a176a02903c8ab2da24433fc8030465feaac630c /debian/patches | |
parent | f75bcaf72922faf2fa6f380465de1a68accfab2d (diff) | |
download | qt4-x11-d6caf6f99a3d18b391b99053e4a499c2708e589a.tar.gz |
Fix qt_ia32_library_path patch: use QLatin1String.
Thanks to Alessandro Ghersi.
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/21_qt_ia32_library_path.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/21_qt_ia32_library_path.diff b/debian/patches/21_qt_ia32_library_path.diff index 2344e4d..50ed914 100644 --- a/debian/patches/21_qt_ia32_library_path.diff +++ b/debian/patches/21_qt_ia32_library_path.diff @@ -27,9 +27,9 @@ Author: Bo Thorsen <bo@sonofthor.dk> + struct utsname uts; + + uname(&uts); -+ if (!strcmp("x86_64", uts.machine) && (path.startsWith("/usr/lib/"))) ++ if (!strcmp("x86_64", uts.machine) && (path.startsWith(QLatin1String("/usr/lib/")))) + { -+ QString newPath = "/usr/lib32/" + path.mid(8); ++ QString newPath = QLatin1String("/usr/lib32/") + path.mid(8); + if (QFileInfo(newPath).isDir()) + return newPath; + } |