pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/mdoclint Allow 2012 in man page dates.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00bebbf7f0b9
branches:  trunk
changeset: 597575:00bebbf7f0b9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jan 02 18:01:00 2012 +0000

description:
Allow 2012 in man page dates.

diffstat:

 textproc/mdoclint/Makefile       |  4 ++--
 textproc/mdoclint/files/mdoclint |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r b3ee33ac146e -r 00bebbf7f0b9 textproc/mdoclint/Makefile
--- a/textproc/mdoclint/Makefile        Mon Jan 02 16:58:31 2012 +0000
+++ b/textproc/mdoclint/Makefile        Mon Jan 02 18:01:00 2012 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2011/01/02 12:40:37 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2012/01/02 18:01:00 wiz Exp $
 
-DISTNAME=      mdoclint-1.13
+DISTNAME=      mdoclint-1.14
 CATEGORIES=    textproc
 MASTER_SITES=  # none
 DISTFILES=     # none
diff -r b3ee33ac146e -r 00bebbf7f0b9 textproc/mdoclint/files/mdoclint
--- a/textproc/mdoclint/files/mdoclint  Mon Jan 02 16:58:31 2012 +0000
+++ b/textproc/mdoclint/files/mdoclint  Mon Jan 02 18:01:00 2012 +0000
@@ -1,9 +1,9 @@
 #!@PERL5@
 #
 # $OpenBSD: mdoclint,v 1.14 2009/04/13 12:40:05 espie Exp $
-# $NetBSD: mdoclint,v 1.16 2011/01/02 12:40:37 wiz Exp $
+# $NetBSD: mdoclint,v 1.17 2012/01/02 18:01:00 wiz Exp $
 #
-# Copyright (c) 2001-2010 Thomas Klausner
+# Copyright (c) 2001-2012 Thomas Klausner
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -161,7 +161,7 @@
                $valid_date_re = qr{\$Mdocdate\b};
        }
        if (NETBSD) {
-               $valid_date_re = qr{(?:January|February|March|April|May|June|July|August|September|October|November|December)\s*[1-9][0-9]*,\s*(?:198[0-9]|199[0-9]|200[0-9]|201[01])$}o;
+               $valid_date_re = qr{(?:January|February|March|April|May|June|July|August|September|October|November|December)\s*[1-9][0-9]*,\s*(?:198[0-9]|199[0-9]|200[0-9]|201[0-2])$}o;
        }
 }
 



Home | Main Index | Thread Index | Old Index