texlive: Fix texlive pstricks

The upgrade of ghostscript to 9.50 produced some issues with texlive
2019. This patch adds an additional fix necessary for the upgrade
preventing pstricks from working correctly:

  https://tug.org/pipermail/dvipdfmx/2019-November/000036.html

(cherry picked from commit bb79233b94)
cc #85736

Conflicts:
	pkgs/tools/typesetting/tex/texlive/bin.nix
This commit is contained in:
Ismaël Bouya
2020-04-22 02:03:08 +02:00
committed by Dmitry Kalinkin
parent 726ffc157b
commit 4d9a0aff06

View File

@@ -70,6 +70,14 @@ let
patches = [
# poppler 0.84 compat fixups, use 0.83 files otherwise
./poppler84.patch
# Needed for ghostscript>=9.50
(fetchpatch {
name = "xdvipdfm-fix.patch";
url = "https://www.tug.org/svn/texlive/trunk/Build/source/texk/dvipdfm-x/spc_dvips.c?view=patch&r1=52765&r2=52764&pathrev=52765";
sha256 = "0qvrc7yxhbl5f4g340z8aql388bwib0m2gxd473skbmviy5bjr3f";
stripLen = 2;
})
];
# remove when removing synctex-missing-header.patch