From a8742c052ecc9f766e6b7d348e74bbc2332ed83d Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Tue, 11 Nov 2025 22:45:09 -0500 Subject: [PATCH] Add pgf patches --- .../0001-Workaround-goto-source-mishaps.patch | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 dev-tex/pgf/0001-Workaround-goto-source-mishaps.patch diff --git a/dev-tex/pgf/0001-Workaround-goto-source-mishaps.patch b/dev-tex/pgf/0001-Workaround-goto-source-mishaps.patch new file mode 100644 index 0000000..9588c77 --- /dev/null +++ b/dev-tex/pgf/0001-Workaround-goto-source-mishaps.patch @@ -0,0 +1,52 @@ +From 2fe89c7027369a10b85ee6e46c4adb955a556228 Mon Sep 17 00:00:00 2001 +From: Jacopo De Simoi +Date: Tue, 23 Jun 2020 11:23:06 -0400 +Subject: [PATCH] Workaround goto-source mishaps + +--- + tex/generic/pgf/systemlayer/pgfsys-pdftex.def | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/tex/generic/pgf/systemlayer/pgfsys-pdftex.def b/tex/generic/pgf/systemlayer/pgfsys-pdftex.def +index 510a4cca..07ba65d5 100644 +--- a/tex/generic/pgf/systemlayer/pgfsys-pdftex.def ++++ b/tex/generic/pgf/systemlayer/pgfsys-pdftex.def +@@ -83,7 +83,7 @@ + \pgfmathparse{#2}% + \setbox\pgfutil@tempboxa=\hbox to\pgf@max{\vbox to\pgfmathresult pt{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% + \pgf@process{\pgfpoint{\pgf@max}{#2}}% +- \immediate\pdfxform resources {% ++ \pdfxform resources {% + /Shading << /Sh << /ShadingType 2 + /ColorSpace \pgf@shading@device\space + /Domain [\pgf@pdfparseddomain] +@@ -100,7 +100,7 @@ + \pgfmathparse{#2}% + \setbox\pgfutil@tempboxa=\hbox to\pgfmathresult pt{\vbox to\pgf@max{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% + \pgf@process{\pgfpoint{#2}{\pgf@max}}% +- \immediate\pdfxform resources {% ++ \pdfxform resources {% + /Shading << /Sh << /ShadingType 2 + /ColorSpace \pgf@shading@device\space + /Domain [\pgf@pdfparseddomain] +@@ -125,7 +125,7 @@ + \pgf@sys@bp@correct{\pgf@y}% + \pgf@sys@bp@correct{\pgf@xa}% + \pgf@sys@bp@correct{\pgf@ya}% +- \immediate\pdfxform resources {% ++ \pdfxform resources {% + /Shading << /Sh << /ShadingType 3 + /ColorSpace \pgf@shading@device\space + /Domain [\pgf@pdfparseddomain] +@@ -304,7 +304,7 @@ + + \def\pgf@sys@pdf@install@mask#1{% + \setbox\pgfutil@tempboxa=\hbox{\pdfrefxform\csname pgfsmaskxform@#1\endcsname} +- \immediate\pdfxform% ++ \pdfxform% + attr { + /Group + << +-- +2.26.2 +