openbsd-ports/textproc/groff/patches/patch-contrib_hdtbl_examples_common_roff

33 lines
1.1 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-contrib_hdtbl_examples_common_roff,v 1.2 2012/05/28 13:23:28 schwarze Exp $
--- contrib/hdtbl/examples/common.roff.orig Fri Dec 31 08:33:09 2010
+++ contrib/hdtbl/examples/common.roff Sun May 27 12:41:37 2012
@@ -64,9 +64,8 @@ along with this program. If not, see <http://www.gnu.o
.\" ** standard form of the Unix date-command, **
.\" ** for example "Sun Dec 5 22:27:57 2004" **
.\" ******************************************************************
+.\" deactivated to avoid noise in the build logs
.de date
-. pso bash -c "echo -n .ds *date\ ;date"
-. tm \\*[*date] ***
..
.
.
@@ -79,16 +78,8 @@ along with this program. If not, see <http://www.gnu.o
.\" ** reg *time gets the difference of the **
.\" ** end- and start-time (seconds) **
.\" ******************************************************************
+.\" deactivated to avoid noise in the build logs
.de time
-. ds * \\$1\"
-. substring * 0 0
-. ie "\\*[*]"s" \
-. pso bash -c "echo -n .nr *time 0+;date +%s"
-. el \{\
-. pso bash -c "echo -n .nr *time -;date +%s"
-. nr *time 0-\\n[*time]
-. tm elapsed time: \\n[*time] seconds
-. \}
..
.
.