pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2017Q1]: pkgsrc/textproc/mdoclint/files Pullup ticket #5394 - ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc190c8ad657
branches:  pkgsrc-2017Q1
changeset: 360357:bc190c8ad657
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat May 06 15:12:53 2017 +0000

description:
Pullup ticket #5394 - requested by sevan
textproc/mdoclint: bugfix

Revisions pulled up:
- textproc/mdoclint/files/mdoclint                              1.67

---
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Tue May  2 13:53:14 UTC 2017

   Modified Files:
           pkgsrc/textproc/mdoclint/files: mdoclint

   Log Message:
   Bug fix from Ingo Schwarze: also look for empty lines in unfilled blocks.

diffstat:

 textproc/mdoclint/files/mdoclint |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r da163196bbeb -r bc190c8ad657 textproc/mdoclint/files/mdoclint
--- a/textproc/mdoclint/files/mdoclint  Sat May 06 15:11:39 2017 +0000
+++ b/textproc/mdoclint/files/mdoclint  Sat May 06 15:12:53 2017 +0000
@@ -1,7 +1,7 @@
 #!@PERL5@
 #
 # $OpenBSD: mdoclint,v 1.48 2016/01/24 20:10:48 schwarze Exp $
-# $NetBSD: mdoclint,v 1.64 2017/01/25 09:17:06 wiz Exp $
+# $NetBSD: mdoclint,v 1.64.2.1 2017/05/06 15:12:53 bsiegert Exp $
 #
 # Copyright (c) 2001-2017 Thomas Klausner
 # All rights reserved.
@@ -610,7 +610,7 @@
                $s->warning("Invalid date found: `$_'") if $opt_d;
        }
 
-       if (/^\.Bd\b.*-literal\b/o) {
+       if (/^\.Bd\b.*-(?:literal|unfilled)\b/o) {
                $s->{inliteral} = 1;
        }
        if ($s->{inliteral} == 1) {



Home | Main Index | Thread Index | Old Index