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:
parent
b2b67c055b
commit
3b7dd3c930
@ -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" ])
|
||||
|
12
pkgs/os-specific/linux/conky/stdbool.patch
Normal file
12
pkgs/os-specific/linux/conky/stdbool.patch
Normal 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>
|
Loading…
Reference in New Issue
Block a user