new file mode 100644
@@ -0,0 +1,33 @@
+[mom]: Fix example build dependencies
+
+We are seeing occasional failures for eqn being missing when building
+mom examples, e.g.:
+
+| groff-1.24.0/groff: error: couldn't exec eqn: Permission denied
+| pdfmom: fatal error: groff-1.24.0/test-groff exited with status 24
+| make[2]: *** [Makefile:19256: contrib/mom/examples/slide-demo.pdf] Error 1
+
+It may find eqn from the host system if installed too.
+
+Fix the build dependencies to add eqn, pic, tbl and preconv since a
+quick strace indicates them all being used here
+
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/groff/2026-04/msg00040.html]
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Index: groff-1.24.0/contrib/mom/mom.am
+===================================================================
+--- groff-1.24.0.orig/contrib/mom/mom.am
++++ groff-1.24.0/contrib/mom/mom.am
+@@ -144,8 +144,8 @@ SUFFIXES += .mom .pdf
+ && LC_ALL=C $(MOMPDFMOM) $< >$@
+
+ $(MOMPROCESSEDEXAMPLEFILES): $(MOMNORMALFILES) \
+- test-groff groff troff gropdf pdfmom penguin.ps penguin.pdf \
+- font/devpdf/stamp tmac/pdf.tmac
++ test-groff groff troff gropdf pdfmom eqn pic tbl preconv \
++ penguin.ps penguin.pdf font/devpdf/stamp tmac/pdf.tmac
+
+ penguin.ps:
+ $(AM_V_at)cp $(mom_srcdir)/examples/penguin.ps $@
@@ -12,6 +12,7 @@ SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz \
file://0001-Make-manpages-mulitlib-identical.patch \
file://0001-groff-fix-test-groff-not-found-in-cross-compilation.patch \
file://0001-gropdf-use-SOURCE_DATE_EPOCH-for-reproducible-builds.patch \
+ file://builddep.patch \
"
SRC_URI[sha256sum] = "e79bbcd8ff3ed0200e7ac55d3962a15e118c1229990213025f2fc8b264727570"
groff-native occasionally fails to build with a build race. Add a patch which has been submitted upstream (details in the patch). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- .../groff/files/builddep.patch | 33 +++++++++++++++++++ meta/recipes-extended/groff/groff_1.24.0.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta/recipes-extended/groff/files/builddep.patch