mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
conky-1.8.1, fix FTBFS
svn path=/nixpkgs/trunk/; revision=31460
This commit is contained in:
parent
4a11f058e4
commit
3a83df3438
25
pkgs/os-specific/linux/conky/curl-types-h.patch
Normal file
25
pkgs/os-specific/linux/conky/curl-types-h.patch
Normal file
@ -0,0 +1,25 @@
|
||||
curl removed <curl/types.h> header
|
||||
diff --git a/src/ccurl_thread.c b/src/ccurl_thread.c
|
||||
index 10e73a6..9bea299 100644
|
||||
--- a/src/ccurl_thread.c
|
||||
+++ b/src/ccurl_thread.c
|
||||
@@ -33,7 +33,6 @@
|
||||
#endif /* DEBUG */
|
||||
|
||||
#include <curl/curl.h>
|
||||
-#include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
|
||||
/*
|
||||
diff --git a/src/eve.c b/src/eve.c
|
||||
index dc07264..f62a5f6 100644
|
||||
--- a/src/eve.c
|
||||
+++ b/src/eve.c
|
||||
@@ -37,7 +37,6 @@
|
||||
#include <libxml/xmlwriter.h>
|
||||
|
||||
#include <curl/curl.h>
|
||||
-#include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
|
||||
#include <time.h>
|
@ -1,15 +1,19 @@
|
||||
{stdenv, fetchurl, pkgconfig, libxml2, curl, wirelesstools, glib, openssl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "conky-1.7.2";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "conky-1.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/conky/conky-1.7.2.tar.bz2";
|
||||
sha256 = "0p375id2saxm2bp6c33ddn9d6rxymmq60ajlvx49smwhzyqa3h5k";
|
||||
url = "mirror://sourceforge/conky/${name}.tar.bz2";
|
||||
sha256 = "0hsybra4qzaqzny6n66m7768vbwkikajcvcbsqgnnnb9527jfnpq";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libxml2 curl wirelesstools glib openssl ];
|
||||
configureFlags = "--disable-x11 --disable-xdamage --disable-own-window --disable-xft --disable-lua --enable-mpd --enable-double-buffer --enable-proc-uptime --enable-seti --enable-wlan --enable-rss";
|
||||
configureFlags =
|
||||
(map (x: "--disable-${x}") [ "x11" "xdamage" "own-window" "xft" "lua" "ncurses" ])
|
||||
++ (map (x: "--enable-${x}") [ "mpd" "double-buffer" "wlan" "rss" ]);
|
||||
|
||||
patches = [ ./curl-types-h.patch ];
|
||||
|
||||
meta = {
|
||||
homepage = http://conky.sourceforge.net/;
|
||||
|
Loading…
Reference in New Issue
Block a user