conky: Patch to #include <stdbool.h> in conky.c.

In current upstream master, they converted conky.c to C++ already, so it's not
an issue there anymore. But until then we need to patch it on our own to fix the
build.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2012-09-10 23:34:44 +02:00
parent b2b67c055b
commit 3b7dd3c930
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961
2 changed files with 14 additions and 0 deletions

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0vxvjmi3cdvnp994sv5zcdyncfn0mlxa71p2wm9zpyrmy58bbwds";
};
patches = [ ./stdbool.patch ];
buildInputs = [ pkgconfig libxml2 curl wirelesstools glib openssl ];
configureFlags =
(map (x: "--disable-${x}") [ "x11" "xdamage" "own-window" "xft" "lua" "ncurses" ])

View File

@ -0,0 +1,12 @@
diff --git a/src/conky.c b/src/conky.c
index 5848b61..69a3d45 100644
--- a/src/conky.c
+++ b/src/conky.c
@@ -34,6 +34,7 @@
#include "common.h"
#include "timed_thread.h"
#include <stdarg.h>
+#include <stdbool.h>
#include <math.h>
#include <time.h>
#include <locale.h>