1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update to 2.7.5.

Feature safe:	yes
This commit is contained in:
Joe Marcus Clarke 2009-09-26 12:56:14 +00:00
parent dd522e1e31
commit c32ac92f84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242133
3 changed files with 5 additions and 21 deletions

View File

@ -12,8 +12,8 @@
#
PORTNAME= libxml2
PORTVERSION= 2.7.4
PORTREVISION?= 1
PORTVERSION= 2.7.5
PORTREVISION?= 0
CATEGORIES?= textproc gnome
MASTER_SITES= ftp://fr.rpmfind.net/pub/libxml/ \
ftp://gd.tuwien.ac.at/pub/libxml/ \

View File

@ -1,3 +1,3 @@
MD5 (gnome2/libxml2-2.7.4.tar.gz) = 961cce07211049e3bb20c5b98a1281b4
SHA256 (gnome2/libxml2-2.7.4.tar.gz) = f10ff01a25750913828b69625ac9d1f1f82039aa8401ca843c1d335763cbf5b1
SIZE (gnome2/libxml2-2.7.4.tar.gz) = 4835073
MD5 (gnome2/libxml2-2.7.5.tar.gz) = 2e29ca610579438714ebb1e4010a0ece
SHA256 (gnome2/libxml2-2.7.5.tar.gz) = af5a9a6d9ffb09756f0792fb402720ca2505762b7f6dd99ba277d5fbfffcec6d
SIZE (gnome2/libxml2-2.7.5.tar.gz) = 4854121

View File

@ -1,16 +0,0 @@
--- parser.c.orig 2009-09-16 17:00:06.000000000 +0200
+++ parser.c 2009-09-16 17:01:07.000000000 +0200
@@ -10130,8 +10130,12 @@ xmlParseDocument(xmlParserCtxtPtr ctxt)
/*
* Check for the XMLDecl in the Prolog.
* do not GROW here to avoid the detected encoder to decode more
- * than just the first line
+ * than just the first line, unless the amount of data is really
+ * too small to hold "<?xml version="1.0" encoding="foo"
*/
+ if ((ctxt->input->end - ctxt->input->cur) < 35) {
+ GROW;
+ }
if ((CMP5(CUR_PTR, '<', '?', 'x', 'm', 'l')) && (IS_BLANK_CH(NXT(5)))) {
/*