]> git.pld-linux.org Git - packages/xqilla.git/blobdiff - xqilla-xerces-1.patch
- added patches for compatibility with xerces 3.2
[packages/xqilla.git] / xqilla-xerces-1.patch
diff --git a/xqilla-xerces-1.patch b/xqilla-xerces-1.patch
new file mode 100644 (file)
index 0000000..27839ca
--- /dev/null
@@ -0,0 +1,14 @@
+--- src/dom-api/impl/XPathDocumentImpl.cpp.orig        2017-09-03 19:24:35 UTC
++++ src/dom-api/impl/XPathDocumentImpl.cpp
+@@ -62,7 +62,11 @@ DOMNode *XPathDocumentImpl::insertBefore
+     if (thisNodeImpl->isReadOnly())
+         throw DOMException(DOMException::NO_MODIFICATION_ALLOWED_ERR, 0, getMemoryManager());
++#if _XERCES_VERSION >= 30200
++    DOMNode* thisNode = fParent.fContainingNode;
++#else
+     DOMNode* thisNode = castToNode(&fParent);
++#endif
+     if (newChild->getOwnerDocument() != thisNode)
+         throw DOMException(DOMException::WRONG_DOCUMENT_ERR, 0, getMemoryManager());
This page took 0.058891 seconds and 4 git commands to generate.