chromium: Use patches from system OpenSSL.

This is mainly because of the patch to use OPENSSL_X509_CERT_FILE as a way to
specify the CA bundle. A browser which isn't able to verify SSL certificates
might be somewhat useless.
This commit is contained in:
aszlig 2012-06-19 18:05:38 +02:00 committed by Eelco Dolstra
parent b1fdecc460
commit f0cdea2e99

View File

@ -85,10 +85,16 @@ in stdenv.mkDerivation rec {
libXScrnSaver libXcursor
] ++ stdenv.lib.optional gnomeKeyringSupport libgnome_keyring;
opensslPatches = openssl.patches;
prePatch = "patchShebangs .";
patches = stdenv.lib.optional (!useSELinux) ./enable_seccomp.patch;
postPatch = stdenv.lib.optionalString useOpenSSL ''
cat $opensslPatches | patch -p1 -d third_party/openssl/openssl
'';
gypFlags = mkGypFlags (gypFlagsUseSystemLibs // {
linux_use_gold_binary = false;
linux_use_gold_flags = false;