+1 patch (from Gentoo)

svn path=/nixpkgs/trunk/; revision=33094
This commit is contained in:
Yury G. Kudryashov 2012-03-14 23:34:30 +00:00
parent 914a042d7d
commit bd17f891dd

View File

@ -12,7 +12,11 @@ stdenv.mkDerivation rec {
sha256 = "01fd2qb0zddif3wz1a2wdmwyzn81cf73678qp2gjs8iikmdz6w7x";
};
patches = map fetchurl (import ./debian-patches.nix);
patches = map fetchurl ((import ./debian-patches.nix) ++
[ {
url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-gfx/k3d/files/k3d-0.7.11.0-libpng14.patch;
sha256 = "1vl7dbvxg9b54ay0n8dd2v2k3j001h8h1bpr1cbm3vrzv31lnwzx";
} ]);
preConfigure = ''
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/build/lib"