mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
esniper: fixed build with current version of curl
svn path=/nixpkgs/trunk/; revision=30299
This commit is contained in:
parent
b8153a3ac5
commit
dd8a7b38db
@ -10,6 +10,8 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [openssl curl];
|
||||
|
||||
patches = [ ./fix-build-with-latest-curl.patch ];
|
||||
|
||||
postInstall = ''
|
||||
sed -e "2i export PATH=\"$out/bin:\$PATH\"" <"frontends/snipe" >"$out/bin/snipe"
|
||||
chmod 555 "$out/bin/snipe"
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- esniper-2-26-0/http.c 2011-08-09 21:05:59.000000000 +0200
|
||||
+++ esniper/http.c 2011-08-10 00:24:43.000000000 +0200
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "esniper.h"
|
||||
#include <ctype.h>
|
||||
#include <curl/curl.h>
|
||||
-#include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
Loading…
Reference in New Issue
Block a user