aboutsummaryrefslogtreecommitdiff
path: root/system/filelight/filelight-1.9_rc3-gcc45.patch
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-03-31 18:15:56 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-03-31 23:51:43 -0500
commit2f5d00ad173f92d29d195e5df2c0b0e8a8d43be9 (patch)
treedda5ac4dd4f7db6e570413b4e827f3497b39418a /system/filelight/filelight-1.9_rc3-gcc45.patch
parent2bec686bc96db57ae04c335d08169d97a46eef9a (diff)
system/filelight: Patched to fix building with gcc 4.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/filelight/filelight-1.9_rc3-gcc45.patch')
-rw-r--r--system/filelight/filelight-1.9_rc3-gcc45.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/system/filelight/filelight-1.9_rc3-gcc45.patch b/system/filelight/filelight-1.9_rc3-gcc45.patch
new file mode 100644
index 0000000000000..3471cb350cf68
--- /dev/null
+++ b/system/filelight/filelight-1.9_rc3-gcc45.patch
@@ -0,0 +1,24 @@
+http://bugs.gentoo.org/321357
+
+--- src/app/mainWindow.cpp
++++ src/app/mainWindow.cpp
+@@ -222,7 +222,7 @@
+
+ inline bool MainWindow::slotScanPath(const QString &path)
+ {
+- return slotScanUrl(KUrl::KUrl(path));
++ return slotScanUrl(KUrl(path));
+ }
+
+ bool MainWindow::slotScanUrl(const KUrl &url)
+--- src/part/radialMap/widget.cpp
++++ src/part/radialMap/widget.cpp
+@@ -64,7 +64,7 @@
+ KUrl
+ RadialMap::Widget::url(File const * const file) const
+ {
+- return KUrl::KUrl(file ? file->fullPath() : m_tree->fullPath());
++ return KUrl(file ? file->fullPath() : m_tree->fullPath());
+ }
+
+ void