mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/conky: Fixed building with gcc-7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
3653916b7e
commit
b24c843284
2 changed files with 5 additions and 2 deletions
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue