plotutils: fix compilation with libpng15 (debian)

svn path=/nixpkgs/branches/libpng15/; revision=31837
This commit is contained in:
Yury G. Kudryashov 2012-01-25 18:06:30 +00:00
parent 390f8aa954
commit b1762c6b49
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# Generated by debian-patches.sh from debian-patches.txt
let
prefix = "http://patch-tracker.debian.org/patch/series/dl/plotutils/2.6-2";
in
[
{
url = "${prefix}/10_repair_postscript";
sha256 = "01v4a8mdhgsjxbf9a2xppx2lb05lp818v8afp5x2njv64wpgla8p";
}
{
url = "${prefix}/25_libpng15";
sha256 = "0l640rcsgc2mwpk7iqm0cf3b0gfcdgcn9wg4x88gaqxzx9rriph0";
}
]

View File

@ -0,0 +1,3 @@
plotutils/2.6-2
10_repair_postscript
25_libpng15

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
buildInputs = [libpng]; buildInputs = [libpng];
patches = map fetchurl (import ./debian-patches.nix);
configureFlags = "--enable-libplotter"; # required for pstoedit configureFlags = "--enable-libplotter"; # required for pstoedit
doCheck = true; doCheck = true;