chromium: Fix build for version 28 and NSS 3.15.

Build failure details:

http://hydra.nixos.org/build/5663358

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2013-08-08 03:14:00 +02:00
parent 9040af06e3
commit a1b384783e
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -135,6 +135,9 @@ in stdenv.mkDerivation rec {
sed -i -e 's|/usr/bin/gcc|gcc|' third_party/WebKit/Source/core/core.gypi
'' + optionalString useOpenSSL ''
cat $opensslPatches | patch -p1 -d third_party/openssl/openssl
'' + optionalString (versionOlder sourceInfo.version "29.0.0.0") ''
sed -i -e '/struct SECItemArray/,/^};/d' \
net/third_party/nss/ssl/bodge/secitem_array.c
'';
gypFlags = mkGypFlags (gypFlagsUseSystemLibs // {