gbranden pushed a commit to branch master
in repository groff.
commit a2f013488f2a9a613bdd5b5cdd8b3d54056a346c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Oct 8 07:24:33 2026 -0500
[eqn]: `neqn` script locates `eqn` more reliably.
* src/preproc/eqn/neqn.sh: Use the documented run-time environment
variable `GROFF_COMMAND_PREFIX` to name the corresponding GNU eqn
executable, not the build-time `g` prefix. Resolves failure of
"neqn-finds-matching-eqn.sh" on Solaris 11. (The host to which I have
access has groff 1.23.0's troff as its "/usr/bin/troff"; presumably
it's running SRU66. So I simulated the situation by installing an
"echo 0" shell script in "$HOME/bin", adding that directory to the
$PATH, and running a build.)
Fixes <https://savannah.gnu.org/bugs/?68764>. Thanks to Bruno Haible
for the report.
---
ChangeLog | 15 +++++++++++++++
src/preproc/eqn/neqn.sh | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index fea250d7b..5b6fd16fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2026-10-08 G. Branden Robinson <[email protected]>
+
+ * src/preproc/eqn/neqn.sh: Use the documented run-time
+ environment variable `GROFF_COMMAND_PREFIX` to name the
+ corresponding GNU eqn executable, not the build-time `g` prefix.
+ Resolves failure of "neqn-finds-matching-eqn.sh" on Solaris 11.
+ {The host to which I have access has groff 1.23.0's troff as its
+ "/usr/bin/troff"; presumably it's running SRU66. So I simulated
+ the situation by installing an "echo 0" shell script in
+ "$HOME/bin", adding that directory to the $PATH, and running a
+ build.}
+
+ Fixes <https://savannah.gnu.org/bugs/?68764>. Thanks to Bruno
+ Haible for the report.
+
2026-10-08 G. Branden Robinson <[email protected]>
* src/libs/libdriver/printer.cpp (printer::load_font)
diff --git a/src/preproc/eqn/neqn.sh b/src/preproc/eqn/neqn.sh
index e220cb37a..5582c4d4e 100644
--- a/src/preproc/eqn/neqn.sh
+++ b/src/preproc/eqn/neqn.sh
@@ -53,7 +53,7 @@ EOF
esac
done
-exec @g@eqn -T ascii "$@"
+exec ${GROFF_COMMAND_PREFIX}eqn -T ascii "$@"
# Local Variables:
# fill-column: 72
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit