mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/filelight: Patched to fix building with gcc 4.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
2bec686bc9
commit
2f5d00ad17
2 changed files with 28 additions and 1 deletions
24
system/filelight/filelight-1.9_rc3-gcc45.patch
Normal file
24
system/filelight/filelight-1.9_rc3-gcc45.patch
Normal file
|
@ -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
|
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue