perlPackages.WWWCurl: fix build due to curl 5.10.3

The define CURL_STRICTER is only set if CURL_NO_OLDIES is set, but that breaks
compatibility with this package. Defining CURL_STRICTER is enough to fix the
build.
This commit is contained in:
Franz Pletz 2016-09-14 10:02:55 +02:00
parent 4ecd0e7434
commit 46790f360d
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -14167,6 +14167,7 @@ let self = _self // overrides; _self = with self; {
substituteInPlace Makefile.PL --replace '"cpp"' '"gcc -E"'
substituteInPlace Makefile.PL --replace '_LASTENTRY\z' '_LASTENTRY\z|CURL_DID_MEMORY_FUNC_TYPEDEFS\z'
'';
NIX_CFLAGS_COMPILE = "-DCURL_STRICTER";
doCheck = false; # performs network access
};