made sword build against current curl (v7.22.0) by removing deprecated includes

svn path=/nixpkgs/trunk/; revision=30248
This commit is contained in:
Piotr Pietraszkiewicz
2011-11-05 22:12:18 +00:00
parent 36c0150c1e
commit 1916578852
2 changed files with 27 additions and 0 deletions
@@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig icu cluceneCore curl ];
# because curl/types.h disappeared since at least curl 7.21.7
patches = [ ./dont_include_curl_types_h.patch ];
prePatch = ''
patchShebangs .;
'';