openbsd-ports/textproc/groff/patches/patch-contrib_hdtbl_examples_common_roff
schwarze 84233c0355 Maintenance update to groff-1.22.2.
* New features: gropdf(1), pdfmom(1)
* Lots of our patches were accepted upstream, lots of upstream bug fixes.
Tested by landry@ and pascal@, ok landry@ and sthen@.
2013-03-30 23:10:05 +00:00

34 lines
1.2 KiB
Plaintext

$OpenBSD: patch-contrib_hdtbl_examples_common_roff,v 1.3 2013/03/30 23:10:05 schwarze Exp $
Avoid noise in the build logs (local change).
--- 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 sh -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 sh -c "echo -n .nr *time 0+;date +%s"
-. el \{\
-. pso sh -c "echo -n .nr *time -;date +%s"
-. nr *time 0-\\n[*time]
-. tm elapsed time: \\n[*time] seconds
-. \}
..
.
.