Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 567816 Details for
Bug 672886
dev-libs/xqilla-2.3.3 : Removal (was: src/.../XPathDocumentImpl.cpp:65:25: error: castToNode was not declared in this scope)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xqilla-2.3.3-xerces-c-3.2.patch
xqilla-xerces-c-3.2.patch (text/plain), 1.82 KB, created by
Samuel Bauer
on 2019-03-04 21:50:16 UTC
(
hide
)
Description:
xqilla-2.3.3-xerces-c-3.2.patch
Filename:
MIME Type:
Creator:
Samuel Bauer
Created:
2019-03-04 21:50:16 UTC
Size:
1.82 KB
patch
obsolete
>--- XQilla-2.3.3/src/dom-api/impl/XPathDocumentImpl.cpp >+++ XQilla-2.3.3/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()); > >--- XQilla-2.3.3/src/dom-api/impl/XPathNamespaceImpl.cpp >+++ XQilla-2.3.3/src/dom-api/impl/XPathNamespaceImpl.cpp >@@ -33,7 +33,11 @@ XERCES_CPP_NAMESPACE_USE; > > XPathNamespaceImpl::XPathNamespaceImpl(const XMLCh* const nsPrefix, > const XMLCh* const nsUri, DOMElement *owner, DOMDocument *docOwner) >+#if _XERCES_VERSION >= 30200 >+ : fNode(this, docOwner) >+#else > : fNode(docOwner) >+#endif > { > DOMNodeImpl *argImpl = castToNodeImpl(this); > >@@ -54,7 +58,13 @@ XPathNamespaceImpl::XPathNamespaceImpl(c > } > > XPathNamespaceImpl::XPathNamespaceImpl(const XPathNamespaceImpl &other) >- : fNode(other.fNode), uri(other.uri), prefix(other.prefix) >+#if _XERCES_VERSION >= 30200 >+ : fNode(this, other.fNode), >+#else >+ : fNode(other.fNode), >+ >+#endif >+ uri(other.uri), prefix(other.prefix) > { > } > >@@ -196,7 +206,11 @@ short XPathNamespaceImpl::com > > //if it is a custom node and bigger than us we must ask it for the order > if(otherType > DOMXPathNamespace::XPATH_NAMESPACE_NODE) { >+#if _XERCES_VERSION >= 30200 >+ DOMNodeImpl tmp(const_cast<XPathNamespaceImpl *>(this), 0); >+#else > DOMNodeImpl tmp(0); >+#endif > #if _XERCES_VERSION >= 30000 > return tmp.reverseTreeOrderBitPattern(other->compareDocumentPosition(this)); > #else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 672886
:
557524
|
557526
|
557528
|
557530
|
557532
|
557534
|
557536
| 567816