podofo: patch for compatibility with cmake 3.12 (#45857)

authored by

Andrew Childs and committed by
xeji
51680c65 01f68e8f

+10 -1
+10 -1
pkgs/development/libraries/podofo/default.nix
··· 1 { stdenv, fetchurl, cmake, zlib, freetype, libjpeg, libtiff, fontconfig 2 - , openssl, libpng, lua5, pkgconfig, libidn, expat 3 , gcc5 # TODO(@Dridus) remove this at next hash break 4 }: 5 ··· 12 }; 13 14 propagatedBuildInputs = [ zlib freetype libjpeg libtiff fontconfig openssl libpng libidn expat ]; 15 16 # TODO(@Dridus) remove the ++ ghc5 at next hash break 17 nativeBuildInputs = [ cmake pkgconfig ] ++ stdenv.lib.optional stdenv.isLinux gcc5;
··· 1 { stdenv, fetchurl, cmake, zlib, freetype, libjpeg, libtiff, fontconfig 2 + , openssl, libpng, lua5, pkgconfig, libidn, expat, fetchpatch 3 , gcc5 # TODO(@Dridus) remove this at next hash break 4 }: 5 ··· 12 }; 13 14 propagatedBuildInputs = [ zlib freetype libjpeg libtiff fontconfig openssl libpng libidn expat ]; 15 + 16 + patches = [ 17 + # https://sourceforge.net/p/podofo/tickets/24/ 18 + (fetchpatch { 19 + url = "https://sourceforge.net/p/podofo/tickets/24/attachment/podofo-cmake-3.12.patch"; 20 + extraPrefix = ""; 21 + sha256 = "087h51x60zrakzx09baan77hwz99cwb5l1j802r5g4wj7pbjz0mb"; 22 + }) 23 + ]; 24 25 # TODO(@Dridus) remove the ++ ghc5 at next hash break 26 nativeBuildInputs = [ cmake pkgconfig ] ++ stdenv.lib.optional stdenv.isLinux gcc5;