Skip to content

Commit

Permalink
app-admin/conky: Fix buid with gcc 7 (bug 624104).
Browse files Browse the repository at this point in the history
Tanks to Piotr Stachura for the report and patch.

Package-Manager: Portage-2.3.13, Repoman-2.3.3
  • Loading branch information
billie80 committed Nov 18, 2017
1 parent b9db269 commit bb0ea02
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app-admin/conky/conky-1.10.6-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ CONFIG_CHECK=~IPV6

DOCS=( README.md TODO ChangeLog NEWS AUTHORS )

PATCHES=( "${FILESDIR}"/${P}-new_graph-oor.patch )
PATCHES=(
"${FILESDIR}"/${P}-new_graph-oor.patch
"${FILESDIR}"/${P}-gcc-7.patch
)

DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="You can find sample configurations at ${ROOT%/}/usr/share/doc/${PF}.
Expand Down
11 changes: 11 additions & 0 deletions app-admin/conky/files/conky-1.10.6-gcc-7.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff -Naur a/src/luamm.hh b/src/luamm.hh
--- a/src/luamm.hh 2017-07-07 15:05:28.250032963 +0200
+++ b/src/luamm.hh 2017-07-07 15:05:43.230033134 +0200
@@ -28,6 +28,7 @@
#include <exception>
#include <stdexcept>
#include <string>
+#include <functional>

#include <lua.hpp>

0 comments on commit bb0ea02

Please sign in to comment.