summaryrefslogtreecommitdiff
path: root/textproc/libxslt
diff options
context:
space:
mode:
authorrecht <recht>2006-11-21 23:55:05 +0000
committerrecht <recht>2006-11-21 23:55:05 +0000
commit0af7a5aa3a15b9d94ef836ff37fffeefe8034f17 (patch)
tree9ddb02503898b7490da83b79a9986c20a198f778 /textproc/libxslt
parentbc348b37a66a463de6e4cae9d6de067f95e7688e (diff)
downloadpkgsrc-0af7a5aa3a15b9d94ef836ff37fffeefe8034f17.tar.gz
Add a patch from libxslt CVS:
* libxslt/transform.c: fixed problem with entity handling within xsltCopyAttrListNoOverwrite (#352907) http://bugzilla.gnome.org/show_bug.cgi?id=352907
Diffstat (limited to 'textproc/libxslt')
-rw-r--r--textproc/libxslt/Makefile3
-rw-r--r--textproc/libxslt/distinfo3
-rw-r--r--textproc/libxslt/patches/patch-ae18
3 files changed, 22 insertions, 2 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 65b91e60169..886702aa1c9 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.70 2006/11/05 17:06:43 joerg Exp $
+# $NetBSD: Makefile,v 1.71 2006/11/21 23:55:05 recht Exp $
DISTNAME= libxslt-1.1.18
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ftp://xmlsoft.org/libxslt/
#MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxslt/1.1/}
diff --git a/textproc/libxslt/distinfo b/textproc/libxslt/distinfo
index b724d1287d6..7c20e611d6b 100644
--- a/textproc/libxslt/distinfo
+++ b/textproc/libxslt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.41 2006/10/30 21:03:21 drochner Exp $
+$NetBSD: distinfo,v 1.42 2006/11/21 23:55:05 recht Exp $
SHA1 (libxslt-1.1.18.tar.gz) = 49aef9520e72b70a9026efa030fad828da0f7b22
RMD160 (libxslt-1.1.18.tar.gz) = 14241203635a1d83ff3e72efd623177e6dc2aa2f
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 3e745804f7f3900eaf88dc6d7ea831b81b0ff765
SHA1 (patch-ab) = 70216897fc4c91d148eeece637df53a0f2555f1c
SHA1 (patch-ac) = eed53c657171b5af321470c3f3e9ba222b8d4367
SHA1 (patch-ad) = 8353ad7cc928cb386e57e0bc65f8ebc2c90a1323
+SHA1 (patch-ae) = 4e5a545a8c0e1de3e32c79266b0605fa57bbe6bf
diff --git a/textproc/libxslt/patches/patch-ae b/textproc/libxslt/patches/patch-ae
new file mode 100644
index 00000000000..0f6347ac7b4
--- /dev/null
+++ b/textproc/libxslt/patches/patch-ae
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.1 2006/11/21 23:55:05 recht Exp $
+
+--- libxslt/transform.c.orig 2006-08-16 17:33:08.000000000 +0200
++++ libxslt/transform.c
+@@ -1074,8 +1074,12 @@ xsltCopyAttrListNoOverwrite(xsltTransfor
+ } else
+ copyNs = NULL;
+ }
++ /*
++ * If attribute has a value, we need to copy it (watching out
++ * for possible entities)
++ */
+ if (attr->children)
+- value = xmlNodeListGetString(attr->doc, attr->children, 1);
++ value = xmlNodeListGetString(attr->doc, attr->children, 0);
+ /*
+ * REVISIT: I think xmlNewDocProp() is the only attr function
+ * which does not eval if the attr is of type ID. This is good,