summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorWael M. Nasreddine <wael.nasreddine@gmail.com>2018-07-31 17:58:19 -0700
committerWael M. Nasreddine <wael.nasreddine@gmail.com>2018-08-01 00:47:56 -0700
commit347ff3238a44646deba75560344bea0ae03e3990 (patch)
tree63bd02bdfe1b7d810072e9f8637281ef5a2fab21 /pkgs
parent3183e9e32aaa62b864ba571662b0773fb0ae19cc (diff)
downloadnixpkgs-347ff3238a44646deba75560344bea0ae03e3990.tar
nixpkgs-347ff3238a44646deba75560344bea0ae03e3990.tar.gz
nixpkgs-347ff3238a44646deba75560344bea0ae03e3990.tar.bz2
nixpkgs-347ff3238a44646deba75560344bea0ae03e3990.tar.lz
nixpkgs-347ff3238a44646deba75560344bea0ae03e3990.tar.xz
nixpkgs-347ff3238a44646deba75560344bea0ae03e3990.tar.zst
nixpkgs-347ff3238a44646deba75560344bea0ae03e3990.zip
cups-filters: fix the build with poppler-0.67.0
Apply the patch from https://github.com/OpenPrinting/cups-filters/pull/51

closes #44282
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/misc/cups/filters.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix
index 870d9f5c160..bc4fec95926 100644
--- a/pkgs/misc/cups/filters.nix
+++ b/pkgs/misc/cups/filters.nix
@@ -2,6 +2,7 @@
 , libjpeg, libpng, perl, ijs, qpdf, dbus, avahi
 , makeWrapper, coreutils, gnused, bc, gawk, gnugrep, which, ghostscript
 , mupdf
+, fetchpatch
 }:
 
 let
@@ -16,6 +17,16 @@ in stdenv.mkDerivation rec {
     sha256 = "0sjkmclcb1r77015wllsyz26272br3s17v6b1q2xwb2nm2gnwx9k";
   };
 
+  patches = [
+    # This patch fixes cups-filters when compiled with poppler-0.67.0.
+    # Issue: https://github.com/OpenPrinting/cups-filters/pull/50
+    # PR: https://github.com/OpenPrinting/cups-filters/pull/51
+    (fetchpatch {
+      url = "https://github.com/OpenPrinting/cups-filters/commit/219de01c61f3b1ec146abf142d0dfc8c560cc58e.patch";
+      sha256 = "0f0lql3rbm2g8mxrpigfyi8fb4i2g4av20g417jzdilp60jq0ny8";
+    })
+  ];
+
   nativeBuildInputs = [ pkgconfig makeWrapper ];
 
   buildInputs = [