diff options
-rw-r--r-- | system/filelight/filelight-1.9_rc3-gcc45.patch | 24 | ||||
-rw-r--r-- | system/filelight/filelight.SlackBuild | 5 |
2 files changed, 28 insertions, 1 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 0000000000..3471cb350c --- /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 diff --git a/system/filelight/filelight.SlackBuild b/system/filelight/filelight.SlackBuild index eb8a24a180..4ee59d6299 100644 --- a/system/filelight/filelight.SlackBuild +++ b/system/filelight/filelight.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=filelight VERSION=${VERSION:-1.9rc3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -55,6 +55,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix building with gcc 4.5. +patch -p0 < $CWD/filelight-1.9_rc3-gcc45.patch + # Configure with cmake CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |