Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2019 12:59:39 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504090 - in head/textproc: libxml2 libxslt libxslt/files py-libxml2
Message-ID:  <201906131259.x5DCxddY078085@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Jun 13 12:59:39 2019
New Revision: 504090
URL: https://svnweb.freebsd.org/changeset/ports/504090

Log:
  textproc/libxml2: Update to 2.9.9 [1]
  
  While here, fix a bug in libxslt triggered by the libxml2 update
  
  PR:		235713 [1]
  PR:		238522
  Exp-run by:	antoine
  Reported by:	kunda <chitty_cloud@me.com> [1]
  Reviewed by:	kwm [1] [2]
  Obtained from:	https://gitlab.gnome.org/GNOME/libxslt/commit/5b0965010abf274f7a3a1291d16dde34c167e8a7

Added:
  head/textproc/libxslt/files/patch-libxslt-keys.c   (contents, props changed)
Modified:
  head/textproc/libxml2/Makefile   (contents, props changed)
  head/textproc/libxml2/distinfo   (contents, props changed)
  head/textproc/libxslt/Makefile   (contents, props changed)
  head/textproc/py-libxml2/Makefile   (contents, props changed)

Modified: head/textproc/libxml2/Makefile
==============================================================================
--- head/textproc/libxml2/Makefile	Thu Jun 13 12:56:33 2019	(r504089)
+++ head/textproc/libxml2/Makefile	Thu Jun 13 12:59:39 2019	(r504090)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libxml2
-PORTVERSION=	2.9.8
+PORTVERSION=	2.9.9
 PORTREVISION?=	0
 CATEGORIES?=	textproc gnome
 MASTER_SITES=	http://xmlsoft.org/sources/

Modified: head/textproc/libxml2/distinfo
==============================================================================
--- head/textproc/libxml2/distinfo	Thu Jun 13 12:56:33 2019	(r504089)
+++ head/textproc/libxml2/distinfo	Thu Jun 13 12:59:39 2019	(r504090)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1544024677
-SHA256 (gnome2/libxml2-2.9.8.tar.gz) = 0b74e51595654f958148759cfef0993114ddccccbb6f31aee018f3558e8e2732
-SIZE (gnome2/libxml2-2.9.8.tar.gz) = 5469097
+TIMESTAMP = 1559577911
+SHA256 (gnome2/libxml2-2.9.9.tar.gz) = 94fb70890143e3c6549f265cee93ec064c80a84c42ad0f23e85ee1fd6540a871
+SIZE (gnome2/libxml2-2.9.9.tar.gz) = 5476717

Modified: head/textproc/libxslt/Makefile
==============================================================================
--- head/textproc/libxslt/Makefile	Thu Jun 13 12:56:33 2019	(r504089)
+++ head/textproc/libxslt/Makefile	Thu Jun 13 12:59:39 2019	(r504090)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libxslt
 PORTVERSION=	1.1.32
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	textproc gnome
 MASTER_SITES=	http://xmlsoft.org/sources/ \
 		https://mirror.umd.edu/xbmc/build-deps/sources/

Added: head/textproc/libxslt/files/patch-libxslt-keys.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libxslt/files/patch-libxslt-keys.c	Thu Jun 13 12:59:39 2019	(r504090)
@@ -0,0 +1,26 @@
+--- libxslt/keys.c.orig	2017-12-02 03:58:51.000000000 -0500
++++ libxslt/keys.c	2019-06-12 08:38:40.214472000 -0400
+@@ -629,6 +629,7 @@ xsltInitCtxtKey(xsltTransformContextPtr ctxt, xsltDocu
+     xmlNodePtr oldContextNode;
+     xsltDocumentPtr oldDocInfo;
+     int	oldXPPos, oldXPSize;
++    xmlNodePtr oldXPNode;
+     xmlDocPtr oldXPDoc;
+     int oldXPNsNr;
+     xmlNsPtr *oldXPNamespaces;
+@@ -667,6 +668,7 @@ fprintf(stderr, "xsltInitCtxtKey %s : %d\n", keyDef->n
+     oldDocInfo = ctxt->document;
+     oldContextNode = ctxt->node;
+ 
++    oldXPNode = xpctxt->node;
+     oldXPDoc = xpctxt->doc;
+     oldXPPos = xpctxt->proximityPosition;
+     oldXPSize = xpctxt->contextSize;
+@@ -865,6 +867,7 @@ error:
+     /*
+     * Restore context state.
+     */
++    xpctxt->node = oldXPNode;
+     xpctxt->doc = oldXPDoc;
+     xpctxt->nsNr = oldXPNsNr;
+     xpctxt->namespaces = oldXPNamespaces;

Modified: head/textproc/py-libxml2/Makefile
==============================================================================
--- head/textproc/py-libxml2/Makefile	Thu Jun 13 12:56:33 2019	(r504089)
+++ head/textproc/py-libxml2/Makefile	Thu Jun 13 12:59:39 2019	(r504090)
@@ -1,7 +1,6 @@
 # Created by: Alexander Nedotsukov <bland@FreeBSD.org>
 # $FreeBSD$
 
-PORTREVISION=	2
 CATEGORIES=	textproc gnome python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906131259.x5DCxddY078085>