aports/main/groff/fix-neqn-wrapper.patch
Runxi Yu c3f004c385 main/groff: upgrade to 1.24.1
Patch the broken neqn wrapper and make sure we test binaries in the
build directory.
2026-03-20 19:33:30 +00:00

28 lines
683 B
Diff

From: Runxi Yu <me@runxiyu.org>
Date: Fri, 20 Mar 2026 14:17:03 +0000
Subject: [PATCH] src/preproc/eqn: avoid broken @g@ substitution in neqn
We do not install groff with a command prefix, but the release tarball
seems to generate a broken neqn wrapper leaving a literal "@g@eqn" in
the script.
---
src/preproc/eqn/neqn.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/preproc/eqn/neqn.sh b/src/preproc/eqn/neqn.sh
index fcb44a5..2d45ce5 100644
--- a/src/preproc/eqn/neqn.sh
+++ b/src/preproc/eqn/neqn.sh
@@ -56,7 +56,7 @@ do
;;
esac
done
-exec @g@eqn -T ascii "$@"
+exec eqn -T ascii "$@"
# Local Variables:
# fill-column: 72
--
2.49.0