SwordArMor-gentoo-overlay/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-elinks.patch
Alarig Le Lay abc59d7590
app-text/docbook-sgml-utils: Import from ::gentoo
Corrections for bug 703634

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2020-04-11 18:36:24 +02:00

15 lines
445 B
Diff

diff -NurdB docbook-utils-0.6.14/backends/txt docbook-utils-0.6.14-patched/backends/txt
--- docbook-utils-0.6.14/backends/txt 2004-02-11 08:58:03.000000000 -0500
+++ docbook-utils-0.6.14-patched/backends/txt 2006-06-05 21:57:23.000000000 -0500
@@ -10,6 +10,10 @@
then
CONVERT=/usr/bin/links
ARGS="-dump"
+elif [ -x /usr/bin/elinks ]
+then
+ CONVERT=/usr/bin/elinks
+ ARGS="-dump"
elif [ -x /usr/bin/w3m ]
then
CONVERT=/usr/bin/w3m