mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
conky/conky-cli: fix build with gcc7
This commit is contained in:
parent
5d923ec84d
commit
4bbd1af074
3 changed files with 14 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'conky-cli'
|
# Template file for 'conky-cli'
|
||||||
pkgname=conky-cli
|
pkgname=conky-cli
|
||||||
version=1.10.6
|
version=1.10.6
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname/-cli/}-${version}"
|
wrksrc="${pkgname/-cli/}-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
|
|
12
srcpkgs/conky/patches/gcc7.patch
Normal file
12
srcpkgs/conky/patches/gcc7.patch
Normal 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>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'conky'
|
# Template file for 'conky'
|
||||||
pkgname=conky
|
pkgname=conky
|
||||||
version=1.10.6
|
version=1.10.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
-DCMAKE_BUILD_TYPE=Release -DMAINTAINER_MODE=ON -DDOC_PATH=share/${pkgname}
|
-DCMAKE_BUILD_TYPE=Release -DMAINTAINER_MODE=ON -DDOC_PATH=share/${pkgname}
|
||||||
|
|
Loading…
Add table
Reference in a new issue