nixpkgs/pkgs
Thomas Tuegel 02157ab123 libcurl: honor $SSL_CERT_FILE (fixed)
The previous attempt to patch libcurl used

getenv("CURL_CA_BUNDLE") || getenv("SSL_CERT_FILE")

to get the second environment variable if the first is unset.
Unfortunately, this broke libcurl because the (||) operator is C returns
only 0 or 1, so it is inappropriate for pointer comparisons! Now we use

getenv("CURL_CA_BUNDLE") ? getenv("CURL_CA_BUNDLE") : getenv("SSL_CERT_FILE")

instead. This has one downside: it always calls getenv twice! But,
that's a small price to pay for actually being correct.
2014-12-02 10:41:24 -06:00
..
applications flac: maintenance+security update 2014-11-28 21:15:58 +01:00
build-support Merge branch 'master' into staging 2014-11-28 18:59:07 +01:00
data Merge branch 'master' into staging 2014-11-26 21:48:26 +01:00
desktops Merge branch 'master' into staging 2014-11-28 18:59:07 +01:00
development cairo: pull an upstream patch to fix racket 2014-11-28 20:28:47 +01:00
games performous: new package 2014-11-25 21:39:46 +08:00
misc my-env: Use sed to substitute $initialPath. 2014-11-25 14:14:43 +01:00
os-specific Merge branch 'master' into staging 2014-11-28 18:59:07 +01:00
servers xorg: revert to older xf86-input-evdev for now 2014-11-28 22:04:39 +01:00
shells bash: Update to 4.3 2014-11-03 14:19:53 +01:00
stdenv Merge remote-tracking branch 'origin/bash-4.3' into staging 2014-11-16 22:18:08 +01:00
test
tools libcurl: honor $SSL_CERT_FILE (fixed) 2014-12-02 10:41:24 -06:00
top-level Merge branch 'master' into staging 2014-11-28 18:59:07 +01:00