add patches for libofa and libtunepipe due to remove curl/types.h in new curl

svn path=/nixpkgs/trunk/; revision=30261
This commit is contained in:
Rob Vermaas
2011-11-06 14:26:55 +00:00
parent 1b9adf9951
commit 25d6f604bb
3 changed files with 251 additions and 178 deletions
@@ -0,0 +1,13 @@
diff -rc libofa-0.9.3/examples/protocol.cpp libofa-0.9.3-new/examples/protocol.cpp
*** libofa-0.9.3/examples/protocol.cpp 2006-05-10 14:05:42.000000000 -0400
--- libofa-0.9.3-new/examples/protocol.cpp 2011-11-06 09:24:05.653283203 -0500
***************
*** 12,18 ****
#include <map>
#include <expat.h>
#include <curl/curl.h>
- #include <curl/types.h>
#include <curl/easy.h>
using namespace std;
--- 12,17 ----
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ expat curl fftw ];
patches = [ ./libofa-0.9.3-gcc-4.patch ./libofa-0.9.3-gcc-4.3.patch ./gcc-4.x.patch ];
patches = [ ./libofa-0.9.3-gcc-4.patch ./libofa-0.9.3-gcc-4.3.patch ./gcc-4.x.patch ./curl-types.patch ];
src = fetchurl {
url = "http://musicip-libofa.googlecode.com/files/${name}.tar.gz";