pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/devtodo Add a patch to fix regex pattern, taken f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4e28af41f72
branches:  trunk
changeset: 550563:d4e28af41f72
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Nov 24 08:23:39 2008 +0000

description:
Add a patch to fix regex pattern, taken from upstream:
        http://swapoff.org/ticket/54
requested by PR 39938.

Bump PKGREVISION.

diffstat:

 time/devtodo/Makefile         |   4 ++--
 time/devtodo/distinfo         |   3 ++-
 time/devtodo/patches/patch-af |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 7a9a80e1cde7 -r d4e28af41f72 time/devtodo/Makefile
--- a/time/devtodo/Makefile     Mon Nov 24 08:02:32 2008 +0000
+++ b/time/devtodo/Makefile     Mon Nov 24 08:23:39 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2008/03/05 16:51:40 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2008/11/24 08:23:39 obache Exp $
 
 DISTNAME=      devtodo-0.1.20
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    time
 MASTER_SITES=  http://swapoff.org/files/devtodo/
 
diff -r 7a9a80e1cde7 -r d4e28af41f72 time/devtodo/distinfo
--- a/time/devtodo/distinfo     Mon Nov 24 08:02:32 2008 +0000
+++ b/time/devtodo/distinfo     Mon Nov 24 08:23:39 2008 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.12 2008/03/05 18:30:59 jlam Exp $
+$NetBSD: distinfo,v 1.13 2008/11/24 08:23:39 obache Exp $
 
 SHA1 (devtodo-0.1.20.tar.gz) = 003067a12139d712dbb3706069e0950a93ecaaf4
 RMD160 (devtodo-0.1.20.tar.gz) = 389201318faa5ff6d302bd5f8c8f8b094664b45c
 Size (devtodo-0.1.20.tar.gz) = 390935 bytes
 SHA1 (patch-ab) = 88507dd1f88d13e3882f9a3a2d815172c132d0b5
 SHA1 (patch-ae) = 5f5ffb9571e73656eecdd3cb6cf72e26c193847e
+SHA1 (patch-af) = b2f475c73a534d49fb3e7cb668f3ee9b885b38e5
diff -r 7a9a80e1cde7 -r d4e28af41f72 time/devtodo/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/devtodo/patches/patch-af     Mon Nov 24 08:23:39 2008 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2008/11/24 08:23:39 obache Exp $
+
+http://swapoff.org/ticket/54
+
+--- util/XML.cc.orig   2007-06-28 12:52:04.000000000 +0000
++++ util/XML.cc
+@@ -49,7 +49,7 @@ void XML::init() {
+       // Only initialise scanners once
+       if (!initialised) {
+               // <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+-              xmlScan.addPattern(XmlDecl, "<\\?xml.*?>[[:space:]]*");
++              xmlScan.addPattern(XmlDecl, "<\\?xml.*\\?>[[:space:]]*");
+               xmlScan.addPattern(XmlCommentBegin, "<!--");
+               xmlScan.addPattern(XmlBegin, "<[a-zA-Z0-9_-]+"
+                       "([[:space:]]+[a-zA-Z_0-9-]+=(([/a-zA-Z_0-9,.]+)|(\"[^\"]*\")|('[^']*')))"



Home | Main Index | Thread Index | Old Index