From 18b64f05c9e4637bbbb516d759da333e2721c6a6 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 13 Jan 2016 19:07:21 +0300 Subject: [PATCH] ijs: 9.16 -> 9.18 --- pkgs/development/libraries/ijs/default.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/ijs/default.nix b/pkgs/development/libraries/ijs/default.nix index fbba11c10c93..0c7d412fee65 100644 --- a/pkgs/development/libraries/ijs/default.nix +++ b/pkgs/development/libraries/ijs/default.nix @@ -1,16 +1,25 @@ -{ stdenv, fetchurl, autoreconfHook }: +{ stdenv, fetchurl, fetchpatch, autoreconfHook }: -let version = "9.16"; +let version = "9.18"; in stdenv.mkDerivation { name = "ijs-${version}"; src = fetchurl { url = "http://downloads.ghostscript.com/public/ghostscript-${version}.tar.bz2"; - sha256 = "0vdqbjkickb0109lk6397bb2zjmg1s46dac5p5j4gfxa4pwl8b9y"; + sha256 = "18ad90za28dxybajqwf3y3dld87cgkx1ljllmcnc7ysspfxzbnl3"; }; - prePatch = "cd ijs"; + patches = [ + # http://bugs.ghostscript.com/show_bug.cgi?id=696246 + (fetchpatch { + name = "devijs-account-for-device-subclassing.patch"; + url = "http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=b68e05c3"; + sha256 = "1c3fzfjzvf15z533vpw3l3da8wcxw98qi3p1lc6lf13940a57c7n"; + }) + ]; + + postPatch = "cd ijs"; enableParallelBuilding = true;