Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

plotutils: fix compilation with libpng15 (debian)

svn path=/nixpkgs/branches/libpng15/; revision=31837

+19
+14
pkgs/tools/graphics/plotutils/debian-patches.nix
··· 1 + # Generated by debian-patches.sh from debian-patches.txt 2 + let 3 + prefix = "http://patch-tracker.debian.org/patch/series/dl/plotutils/2.6-2"; 4 + in 5 + [ 6 + { 7 + url = "${prefix}/10_repair_postscript"; 8 + sha256 = "01v4a8mdhgsjxbf9a2xppx2lb05lp818v8afp5x2njv64wpgla8p"; 9 + } 10 + { 11 + url = "${prefix}/25_libpng15"; 12 + sha256 = "0l640rcsgc2mwpk7iqm0cf3b0gfcdgcn9wg4x88gaqxzx9rriph0"; 13 + } 14 + ]
+3
pkgs/tools/graphics/plotutils/debian-patches.txt
··· 1 + plotutils/2.6-2 2 + 10_repair_postscript 3 + 25_libpng15
+2
pkgs/tools/graphics/plotutils/default.nix
··· 15 15 16 16 buildInputs = [libpng]; 17 17 18 + patches = map fetchurl (import ./debian-patches.nix); 19 + 18 20 configureFlags = "--enable-libplotter"; # required for pstoedit 19 21 20 22 doCheck = true;