aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libxml2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-09-13 02:07:02 +0800
committermarcus <marcus@FreeBSD.org>2009-09-13 02:07:02 +0800
commit16f4f9502a77f05072bf87b635b3123ca0c644ed (patch)
tree62b49f9d2fa62cd4f3a8f50dacb2ab55bd1f49b4 /textproc/libxml2
parentebc8ad55006c35bb3e63a614eb1f8fd5d5d20fc3 (diff)
downloadfreebsd-ports-gnome-16f4f9502a77f05072bf87b635b3123ca0c644ed.tar.gz
freebsd-ports-gnome-16f4f9502a77f05072bf87b635b3123ca0c644ed.tar.zst
freebsd-ports-gnome-16f4f9502a77f05072bf87b635b3123ca0c644ed.zip
Update to 2.7.4.
Diffstat (limited to 'textproc/libxml2')
-rw-r--r--textproc/libxml2/Makefile4
-rw-r--r--textproc/libxml2/distinfo6
-rw-r--r--textproc/libxml2/files/patch-aa28
-rw-r--r--textproc/libxml2/files/patch-parser.c79
4 files changed, 20 insertions, 97 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index ec42f26ac919..100bff072348 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -12,8 +12,8 @@
#
PORTNAME= libxml2
-PORTVERSION= 2.7.3
-PORTREVISION?= 1
+PORTVERSION= 2.7.4
+PORTREVISION?= 0
CATEGORIES?= textproc gnome
MASTER_SITES= ftp://fr.rpmfind.net/pub/libxml/ \
ftp://gd.tuwien.ac.at/pub/libxml/ \
diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo
index 01366f259ffe..d9047d867ddb 100644
--- a/textproc/libxml2/distinfo
+++ b/textproc/libxml2/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome2/libxml2-2.7.3.tar.gz) = 8f4fda3969237c2a33bdb1583b5d06b2
-SHA256 (gnome2/libxml2-2.7.3.tar.gz) = 432464d8c9bd8060d9c1fdef1cfa75803c1a363ceac20b21f8c7e34e056e5a98
-SIZE (gnome2/libxml2-2.7.3.tar.gz) = 4789450
+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
diff --git a/textproc/libxml2/files/patch-aa b/textproc/libxml2/files/patch-aa
index c8b294955bf6..95759e67b21d 100644
--- a/textproc/libxml2/files/patch-aa
+++ b/textproc/libxml2/files/patch-aa
@@ -1,7 +1,7 @@
---- Makefile.in.orig 2008-10-05 07:36:15.299141562 -0400
-+++ Makefile.in 2008-10-05 07:41:11.883687363 -0400
-@@ -513,13 +513,13 @@
- target_alias = @target_alias@
+--- Makefile.in.orig 2009-09-12 14:00:00.000000000 -0400
++++ Makefile.in 2009-09-12 14:01:06.000000000 -0400
+@@ -558,7 +558,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUBDIRS = include . doc example xstc @PYTHON_SUBDIR@
@@ -9,14 +9,16 @@
DIST_SUBDIRS = include . doc example python xstc
INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@
bin_SCRIPTS = xml2-config
- lib_LTLIBRARIES = libxml2.la
- libxml2_la_LIBADD = @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) @M_LIBS@ @WIN32_EXTRA_LIBADD@
--libxml2_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -version-info @LIBXML_VERSION_INFO@ @MODULE_PLATFORM_LIBS@
-+libxml2_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -version-info 5:0:0 @MODULE_PLATFORM_LIBS@
+@@ -568,7 +568,7 @@ libxml2_la_LIBADD = @THREAD_LIBS@ @Z_LIB
+ @USE_VERSION_SCRIPT_TRUE@LIBXML2_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxml2.syms
+ libxml2_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ \
+ $(LIBXML2_VERSION_SCRIPT) \
+- -version-info @LIBXML_VERSION_INFO@ \
++ -version-info 5:0:0 \
+ @MODULE_PLATFORM_LIBS@
+
@WITH_TRIO_SOURCES_FALSE@libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \
- @WITH_TRIO_SOURCES_FALSE@ parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \
- @WITH_TRIO_SOURCES_FALSE@ valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \
-@@ -633,7 +633,7 @@
+@@ -684,7 +684,7 @@ runxmlconf_LDFLAGS =
runxmlconf_DEPENDENCIES = $(DEPS)
runxmlconf_LDADD = $(LDADDS)
CLEANFILES = xml2Conf.sh *.gcda *.gcno
@@ -25,7 +27,7 @@
confexec_DATA = xml2Conf.sh
CVS_EXTRA_DIST =
EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \
-@@ -656,8 +656,8 @@
+@@ -707,8 +707,8 @@ pkgconfig_DATA = libxml-2.0.pc
# Install the tests program sources as examples
#
BASE_DIR = $(datadir)/doc
@@ -36,7 +38,7 @@
#
# Coverage support, largely borrowed from libvirt
-@@ -1414,7 +1414,7 @@
+@@ -1541,7 +1541,7 @@ distcleancheck: distclean
exit 1; } >&2
check-am: all-am
check: check-recursive
diff --git a/textproc/libxml2/files/patch-parser.c b/textproc/libxml2/files/patch-parser.c
deleted file mode 100644
index 2e1e65e5a762..000000000000
--- a/textproc/libxml2/files/patch-parser.c
+++ /dev/null
@@ -1,79 +0,0 @@
---- parser.c.orig
-+++ parser.c
-@@ -5306,7 +5306,8 @@
- if (name == NULL) {
- xmlFatalErrMsg(ctxt, XML_ERR_NAME_REQUIRED,
- "Name expected in NOTATION declaration\n");
-- return(ret);
-+ xmlFreeEnumeration(ret);
-+ return(NULL);
- }
- tmp = ret;
- while (tmp != NULL) {
-@@ -5322,7 +5323,10 @@
- }
- if (tmp == NULL) {
- cur = xmlCreateEnumeration(name);
-- if (cur == NULL) return(ret);
-+ if (cur == NULL) {
-+ xmlFreeEnumeration(ret);
-+ return(NULL);
-+ }
- if (last == NULL) ret = last = cur;
- else {
- last->next = cur;
-@@ -5334,8 +5338,8 @@
- if (RAW != ')') {
- xmlFatalErr(ctxt, XML_ERR_NOTATION_NOT_FINISHED, NULL);
- if ((last != NULL) && (last != ret))
-- xmlFreeEnumeration(last);
-- return(ret);
-+ xmlFreeEnumeration(ret);
-+ return(NULL);
- }
- NEXT;
- return(ret);
-@@ -5390,7 +5394,10 @@
- cur = xmlCreateEnumeration(name);
- if (!xmlDictOwns(ctxt->dict, name))
- xmlFree(name);
-- if (cur == NULL) return(ret);
-+ if (cur == NULL){
-+ xmlFreeEnumeration(ret);
-+ return(NULL);
-+ }
- if (last == NULL) ret = last = cur;
- else {
- last->next = cur;
-@@ -5794,6 +5801,11 @@
- const xmlChar *elem;
- xmlChar type = 0;
-
-+ if (ctxt->depth > 128) {
-+ xmlFatalErrMsgInt(ctxt, XML_ERR_ELEMCONTENT_NOT_FINISHED, "xmlParseElementChildrenContentDecl : depth %d too deep\n", ctxt->depth);
-+ return(NULL);
-+ }
-+
- SKIP_BLANKS;
- GROW;
- if (RAW == '(') {
-@@ -5802,7 +5814,9 @@
- /* Recurse on first child */
- NEXT;
- SKIP_BLANKS;
-+ ctxt->depth++;
- cur = ret = xmlParseElementChildrenContentDecl(ctxt, inputid);
-+ ctxt->depth--;
- SKIP_BLANKS;
- GROW;
- } else {
-@@ -5934,7 +5948,9 @@
- /* Recurse on second child */
- NEXT;
- SKIP_BLANKS;
-+ ctxt->depth++;
- last = xmlParseElementChildrenContentDecl(ctxt, inputid);
-+ ctxt->depth--;
- SKIP_BLANKS;
- } else {
- elem = xmlParseName(ctxt);