diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2009-12-08 01:34:32 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2009-12-08 01:34:32 +0000 |
commit | 20984f79018f0461572988478d1457499520054c (patch) | |
tree | d1286f32d92e8c5eaf43580bb077581f593beb9f /textproc/expat2 | |
parent | 2efb43244aad90e838d29624662bbd20c07791e0 (diff) |
Notes
Diffstat (limited to 'textproc/expat2')
-rw-r--r-- | textproc/expat2/Makefile | 1 | ||||
-rw-r--r-- | textproc/expat2/files/patch-xmlparse.c | 10 | ||||
-rw-r--r-- | textproc/expat2/files/patch-xmltok_impl.c | 11 |
3 files changed, 22 insertions, 0 deletions
diff --git a/textproc/expat2/Makefile b/textproc/expat2/Makefile index e5fada6b1365..9c8586b4ed06 100644 --- a/textproc/expat2/Makefile +++ b/textproc/expat2/Makefile @@ -7,6 +7,7 @@ PORTNAME= expat PORTVERSION= 2.0.1 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF diff --git a/textproc/expat2/files/patch-xmlparse.c b/textproc/expat2/files/patch-xmlparse.c new file mode 100644 index 000000000000..e9992dd199ef --- /dev/null +++ b/textproc/expat2/files/patch-xmlparse.c @@ -0,0 +1,10 @@ +--- lib/xmlparse.c.orig 2009-12-08 10:20:08.866482591 +0900 ++++ lib/xmlparse.c 2009-12-08 10:20:23.038667874 +0900 +@@ -3725,7 +3725,6 @@ + return XML_ERROR_NO_ELEMENTS; + default: + tok = -tok; +- next = end; + break; + } + } diff --git a/textproc/expat2/files/patch-xmltok_impl.c b/textproc/expat2/files/patch-xmltok_impl.c new file mode 100644 index 000000000000..ec6ab41b30dd --- /dev/null +++ b/textproc/expat2/files/patch-xmltok_impl.c @@ -0,0 +1,11 @@ +--- lib/xmltok_impl.c.orig 2009-12-08 10:16:58.047943029 +0900 ++++ lib/xmltok_impl.c 2009-12-08 10:17:13.228143919 +0900 +@@ -1744,7 +1744,7 @@ + const char *end, + POSITION *pos) + { +- while (ptr != end) { ++ while (ptr < end) { + switch (BYTE_TYPE(enc, ptr)) { + #define LEAD_CASE(n) \ + case BT_LEAD ## n: \ |