[64424] trunk/dports/textproc/xercesc3
scantor at macports.org
scantor at macports.org
Fri Mar 5 10:20:48 PST 2010
Revision: 64424
http://trac.macports.org/changeset/64424
Author: scantor at macports.org
Date: 2010-03-05 10:20:47 -0800 (Fri, 05 Mar 2010)
Log Message:
-----------
Add patch to fix major regression with importNode
Modified Paths:
--------------
trunk/dports/textproc/xercesc3/Portfile
Added Paths:
-----------
trunk/dports/textproc/xercesc3/files/
trunk/dports/textproc/xercesc3/files/patch-src-DOMDocumentImpl.cpp.diff
Modified: trunk/dports/textproc/xercesc3/Portfile
===================================================================
--- trunk/dports/textproc/xercesc3/Portfile 2010-03-05 16:17:37 UTC (rev 64423)
+++ trunk/dports/textproc/xercesc3/Portfile 2010-03-05 18:20:47 UTC (rev 64424)
@@ -6,6 +6,7 @@
name xercesc3
conflicts xercesc
version 3.1.0
+revision 2
categories textproc xml shibboleth
maintainers snc scantor
description an XML parser
@@ -18,9 +19,11 @@
homepage http://xerces.apache.org/xerces-c/
master_sites apache:xerces/c/3/sources/
distname xerces-c-${version}
+patchfiles patch-src-DOMDocumentImpl.cpp.diff
configure.args --disable-static \
--enable-netaccessor-socket \
--enable-transcoder-icu \
+ --enable-msgloader-icu \
--with-icu=${prefix}
checksums md5 4dc9460e011ed4857dcd290f22dd6f1b \
sha1 15e45ae354980d6aa58e8c14eb6bc9fd84e51929 \
Added: trunk/dports/textproc/xercesc3/files/patch-src-DOMDocumentImpl.cpp.diff
===================================================================
--- trunk/dports/textproc/xercesc3/files/patch-src-DOMDocumentImpl.cpp.diff (rev 0)
+++ trunk/dports/textproc/xercesc3/files/patch-src-DOMDocumentImpl.cpp.diff 2010-03-05 18:20:47 UTC (rev 64424)
@@ -0,0 +1,23 @@
+--- src/xercesc/dom/impl/DOMDocumentImpl.cpp 2010/02/17 17:34:05 911102
++++ src/xercesc/dom/impl/DOMDocumentImpl.cpp 2010/02/17 17:35:43 911103
+@@ -1067,9 +1067,6 @@
+ else
+ {
+ DOMElementNSImpl* nsElem = (DOMElementNSImpl*)createElementNS(source->getNamespaceURI(), source->getNodeName());
+- if(source->getNamespaceURI() != 0 && *source->getNamespaceURI() != 0) {
+- nsElem->setPrefix(source->getPrefix());
+- }
+ DOMTypeInfoImpl* clonedTypeInfo=NULL;
+ // if the source has type informations, copy them
+ DOMPSVITypeInfo* sourcePSVI=(DOMPSVITypeInfo*)source->getFeature(XMLUni::fgXercescInterfacePSVITypeInfo, 0);
+@@ -1118,9 +1115,6 @@
+ newattr = (DOMAttrImpl*)createAttribute(source->getNodeName());
+ else {
+ newattr = (DOMAttrImpl*)createAttributeNS(source->getNamespaceURI(), source->getNodeName());
+- if(source->getNamespaceURI() != 0 && *source->getNamespaceURI() != 0) {
+- newattr->setPrefix(source->getPrefix());
+- }
+ }
+ DOMTypeInfoImpl* clonedTypeInfo=NULL;
+ // if the source has type informations, copy them
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100305/1905c590/attachment.html>
More information about the macports-changes
mailing list