cairo: pull an upstream patch to fix racket

Close #5165, #5166.
Also enableParallelBuilding in racket.
This commit is contained in:
Vladimír Čunát 2014-11-28 20:26:22 +01:00
parent cbd2305d4d
commit e75fe2e528
2 changed files with 8 additions and 1 deletions

View File

@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-shared" "--enable-lt=${libtool}/bin/libtool" ];
NIX_LDFLAGS = "-lgcc_s";
enableParallelBuilding = true;
postInstall = ''
for p in $(ls $out/bin/) ; do

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libiconvOrEmpty, libintlOrEmpty
{ stdenv, fetchurl, fetchpatch, pkgconfig, libiconvOrEmpty, libintlOrEmpty
, expat, zlib, libpng, pixman, fontconfig, freetype, xlibs
, gobjectSupport ? true, glib
, xcbSupport ? true # no longer experimental since 1.12
@ -18,6 +18,12 @@ stdenv.mkDerivation rec {
sha1 = "53cf589b983412ea7f78feee2e1ba9cea6e3ebae";
};
patches = [(fetchpatch {
name = "fix-racket.diff";
url = "http://cgit.freedesktop.org/cairo/patch/?id=2de69581c28bf115852037ca41eba13cb7335976";
sha256 = "0mk2fd9fwxqzravlmnbbrzwak15wqspn7609y0yn6qh87va5i0x4";
})];
nativeBuildInputs = [ pkgconfig ] ++ libintlOrEmpty ++ libiconvOrEmpty;
propagatedBuildInputs =