diff --git a/pkgs/tools/networking/curl/configure-cxxcpp.patch b/pkgs/tools/networking/curl/configure-cxxcpp.patch new file mode 100644 index 00000000000..5b8bc85cb15 --- /dev/null +++ b/pkgs/tools/networking/curl/configure-cxxcpp.patch @@ -0,0 +1,21 @@ +diff -ruN curl-7.12.2/configure curl-7.12.2-new/configure +--- curl-7.12.2/configure 2004-10-18 00:22:10.000000000 +0200 ++++ curl-7.12.2-new/configure 2004-12-09 13:58:57.670095179 +0100 +@@ -6835,11 +6835,12 @@ + if $ac_preproc_ok; then + : + else +- { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check +-See \`config.log' for more details." >&5 +-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; } ++ #{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check ++#See \`config.log' for more details." >&5 ++#echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check ++#See \`config.log' for more details." >&2;} ++ #{ (exit 1); exit 1; }; } ++ : + fi + + ac_ext=cc diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index e1f99d5b9aa..a5d0d9e561f 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -7,5 +7,6 @@ stdenv.mkDerivation { md5 = "47db6619b849600ba2771074f00da517"; }; buildInputs = [zlib]; + patches = [./configure-cxxcpp.patch]; configureFlags = "--without-ssl"; }