diff options
author | obache <obache> | 2008-11-24 08:23:39 +0000 |
---|---|---|
committer | obache <obache> | 2008-11-24 08:23:39 +0000 |
commit | a6c63c23a649bdad14b531c2c079186d7bab0d9f (patch) | |
tree | 744297666fe644b059b512d9c4f0d3c0dfa1a1fa /time | |
parent | a3683a7c983cc5942a1b94135b6560d61c32ea56 (diff) | |
download | pkgsrc-a6c63c23a649bdad14b531c2c079186d7bab0d9f.tar.gz |
Add a patch to fix regex pattern, taken from upstream:
http://swapoff.org/ticket/54
requested by PR 39938.
Bump PKGREVISION.
Diffstat (limited to 'time')
-rw-r--r-- | time/devtodo/Makefile | 4 | ||||
-rw-r--r-- | time/devtodo/distinfo | 3 | ||||
-rw-r--r-- | time/devtodo/patches/patch-af | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/time/devtodo/Makefile b/time/devtodo/Makefile index fa905a10861..cb155d4a75c 100644 --- a/time/devtodo/Makefile +++ b/time/devtodo/Makefile @@ -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 --git a/time/devtodo/distinfo b/time/devtodo/distinfo index bff0fcfeafe..3f5b1dc38f0 100644 --- a/time/devtodo/distinfo +++ b/time/devtodo/distinfo @@ -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 --git a/time/devtodo/patches/patch-af b/time/devtodo/patches/patch-af new file mode 100644 index 00000000000..0ea9a4ec271 --- /dev/null +++ b/time/devtodo/patches/patch-af @@ -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,.]+)|(\"[^\"]*\")|('[^']*')))" |