system/conky: Fixed building with gcc-7.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
M.Dinslage 2017-06-06 22:36:55 +01:00 committed by Willy Sudiarto Raharjo
parent 3653916b7e
commit b24c843284
2 changed files with 5 additions and 2 deletions

View file

@ -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 \

View file

@ -1,7 +1,7 @@
PRGNAM="conky"
VERSION="1.10.6"
HOMEPAGE="http://conky.sourceforge.net"
DOWNLOAD="https://github.com/brndnmtthws/conky/archive/v1.10.6.tar.gz"
DOWNLOAD="https://github.com/brndnmtthws/conky/archive/v1.10.6/conky-1.10.6.tar.gz"
MD5SUM="bcd9e0ff7304e14f07aea53efa73998f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""