eukleides: allow PostScript transparency

+16 -2
+6 -2
pkgs/applications/science/math/eukleides/default.nix
··· 9 9 sha256 = "0s8cyh75hdj89v6kpm3z24i48yzpkr8qf0cwxbs9ijxj1i38ki0q"; 10 10 }; 11 11 12 - # use $CC instead of hardcoded gcc 13 - patches = [ ./use-CC.patch ]; 12 + patches = [ 13 + # use $CC instead of hardcoded gcc 14 + ./use-CC.patch 15 + # allow PostScript transparency in epstopdf call 16 + ./gs-allowpstransparency.patch 17 + ]; 14 18 15 19 nativeBuildInputs = [ bison flex texinfo makeWrapper ]; 16 20
+10
pkgs/applications/science/math/eukleides/gs-allowpstransparency.patch
··· 1 + --- a/bash/euktopdf 2 + +++ b/bash/euktopdf 3 + @@ -55,6 +55,6 @@ do 4 + exit 1 5 + fi 6 + dvips -q -E -o $base.eps $base.dvi && 7 + - epstopdf $base.eps && 8 + + epstopdf --gsopt=-dALLOWPSTRANSPARENCY $base.eps && 9 + rm -f $base.{tex,log,dvi,eps} 10 + done