conky/conky-cli: fix build with gcc7

This commit is contained in:
Enno Boland 2018-01-11 09:38:10 +01:00
parent 5d923ec84d
commit 4bbd1af074
No known key found for this signature in database
GPG key ID: D09964719BDE9971
3 changed files with 14 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'conky-cli'
pkgname=conky-cli
version=1.10.6
revision=1
revision=2
wrksrc="${pkgname/-cli/}-${version}"
build_style=cmake
configure_args="

View file

@ -0,0 +1,12 @@
See https://git.archlinux.org/svntogit/packages.git/tree/trunk/gcc7.patch?h=packages/conky
diff -Naur old/src/luamm.hh new/src/luamm.hh
--- src/luamm.hh 2016-12-04 05:13:57.000000000 -1000
+++ src/luamm.hh 2017-11-21 09:11:20.993164069 -1000
@@ -28,6 +28,7 @@
#include <exception>
#include <stdexcept>
#include <string>
+#include <functional>
#include <lua.hpp>

View file

@ -1,7 +1,7 @@
# Template file for 'conky'
pkgname=conky
version=1.10.6
revision=1
revision=2
build_style=cmake
configure_args="
-DCMAKE_BUILD_TYPE=Release -DMAINTAINER_MODE=ON -DDOC_PATH=share/${pkgname}