[lfs-patches] r3135 - trunk/busybox

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Sun Feb 1 02:04:39 PST 2015


Author: igor
Date: Sun Feb  1 02:04:38 2015
New Revision: 3135

Log:
patch busybox man to use mdocml instead of groff

Added:
   trunk/busybox/busybox-1.23.1-man-1.patch

Added: trunk/busybox/busybox-1.23.1-man-1.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/busybox/busybox-1.23.1-man-1.patch	Sun Feb  1 02:04:38 2015	(r3135)
@@ -0,0 +1,19 @@
+Submitted By:            Igor Živković <contact at igor-zivkovic.from.hr>
+Date:                    2015-02-01
+Initial Package Version: 1.23.1
+Upstream Status:         Unknown
+Origin:                  Alpine Linux
+Description:             Replaces groff with mdocml runtime dependency for the
+                         man command.
+
+--- busybox-1.23.1.orig/miscutils/man.c
++++ busybox-1.23.1/miscutils/man.c
+@@ -107,7 +107,7 @@
+ 	 * Otherwise it may show just empty screen */
+ 	cmd = xasprintf(
+ 		/* replaced -Tlatin1 with -Tascii for non-UTF8 displays */
+-		man ? "gtbl | nroff -Tascii -mandoc 2>&1 | %s"
++		man ? "mandoc 2>&1 | %s"
+ 		    : "%s",
+ 		pager);
+ 	system(cmd);


More information about the patches mailing list