Hi Thorsten,

/usr/share/texlive/texmf-dist/tex/latex/base/doc.sty changed in texlive-latex-base_2022.20220722-1. But it also ships doc-2021-06-01.sty so the attached patch fixes the FTBFS.

Cheers Jochen

* Thorsten Alteholz <deb...@alteholz.de> [2023-02-14 09:28]:
In case somebody has any idea how to fix this bug, I would be happy to apply a patch.

 Thorsten
From d99bbd41e95a27849e611b11dee7688568dfc70c Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof <jspri...@debian.org>
Date: Thu, 23 Feb 2023 13:53:42 +0100
Subject: [PATCH] Add patch for build failure

Closes: #1029439
---
 debian/patches/0003-Use-old-doc-package.patch | 22 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 debian/patches/0003-Use-old-doc-package.patch

diff --git a/debian/patches/0003-Use-old-doc-package.patch b/debian/patches/0003-Use-old-doc-package.patch
new file mode 100644
index 0000000..87b12c4
--- /dev/null
+++ b/debian/patches/0003-Use-old-doc-package.patch
@@ -0,0 +1,22 @@
+From: Jochen Sprickerhof <jspri...@debian.org>
+Date: Thu, 23 Feb 2023 13:53:01 +0100
+Subject: Use old doc package
+
+Closes: #1029439
+---
+ feynmf.dtx | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/feynmf.dtx b/feynmf.dtx
+index 4ed5c70..890579f 100644
+--- a/feynmf.dtx
++++ b/feynmf.dtx
+@@ -7695,7 +7695,7 @@ endinput;
+ %<*driver>
+ %<*!209>
+ \documentclass[a4paper]{article}
+-\usepackage{doc}
++\usepackage{doc-2021-06-01}
+ \usepackage[T1]{fontenc}
+ %    \end{macrocode}
+ % The \MF{} and \MP{} logos come out much nicer if you have |mflogo|
diff --git a/debian/patches/series b/debian/patches/series
index c6bf829..e3220cd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 reproducible-build.patch
 docu.patch
+0003-Use-old-doc-package.patch
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature

Reply via email to