summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorFathi Boudra <fabo@kde.org>2010-02-04 11:52:56 +0100
committerFathi Boudra <fabo@kde.org>2010-02-04 11:52:56 +0100
commitd6caf6f99a3d18b391b99053e4a499c2708e589a (patch)
treea176a02903c8ab2da24433fc8030465feaac630c /debian/patches
parentf75bcaf72922faf2fa6f380465de1a68accfab2d (diff)
downloadqt4-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.diff4
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;
+ }