summaryrefslogtreecommitdiff
path: root/system/conky/conky.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/conky/conky.SlackBuild')
-rw-r--r--system/conky/conky.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/conky/conky.SlackBuild b/system/conky/conky.SlackBuild
index 94b23e0261..f0ecaf36c5 100644
--- a/system/conky/conky.SlackBuild
+++ b/system/conky/conky.SlackBuild
@@ -78,7 +78,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -90,6 +90,9 @@ find -L . \
# fix MANDIR
sed -i 's,share/man/man1,man/man1,g' CMakeLists.txt
+# fix compile error with gcc-7.*
+sed -i "31i #include <functional>" src/luamm.hh
+
mkdir -p build
cd build
cmake \