diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-01-25 18:06:30 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-01-25 18:06:30 +0000 |
commit | b1762c6b49f7fb6469a71e1b59b1f96fcc4dfef2 (patch) | |
tree | 5528d6274b8837cc0e65ad2fa52f5e03f6736982 /pkgs/tools/graphics/plotutils | |
parent | 390f8aa954f3e58f41b3465769e40d6f07664ef1 (diff) |
plotutils: fix compilation with libpng15 (debian)
svn path=/nixpkgs/branches/libpng15/; revision=31837
Diffstat (limited to 'pkgs/tools/graphics/plotutils')
-rw-r--r-- | pkgs/tools/graphics/plotutils/debian-patches.nix | 14 | ||||
-rw-r--r-- | pkgs/tools/graphics/plotutils/debian-patches.txt | 3 | ||||
-rw-r--r-- | pkgs/tools/graphics/plotutils/default.nix | 2 |
3 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/plotutils/debian-patches.nix b/pkgs/tools/graphics/plotutils/debian-patches.nix new file mode 100644 index 0000000000000..d72974445e6d6 --- /dev/null +++ b/pkgs/tools/graphics/plotutils/debian-patches.nix @@ -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"; + } +] diff --git a/pkgs/tools/graphics/plotutils/debian-patches.txt b/pkgs/tools/graphics/plotutils/debian-patches.txt new file mode 100644 index 0000000000000..8694be8edd798 --- /dev/null +++ b/pkgs/tools/graphics/plotutils/debian-patches.txt @@ -0,0 +1,3 @@ +plotutils/2.6-2 +10_repair_postscript +25_libpng15 diff --git a/pkgs/tools/graphics/plotutils/default.nix b/pkgs/tools/graphics/plotutils/default.nix index e7263fcf11e7f..bb250b9d85233 100644 --- a/pkgs/tools/graphics/plotutils/default.nix +++ b/pkgs/tools/graphics/plotutils/default.nix @@ -15,6 +15,8 @@ stdenv.mkDerivation rec { buildInputs = [libpng]; + patches = map fetchurl (import ./debian-patches.nix); + configureFlags = "--enable-libplotter"; # required for pstoedit doCheck = true; |