1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Update to 2.3.4

This commit is contained in:
Wen Heping 2018-05-15 07:10:22 +00:00
parent ae1e652ce1
commit 332bcc7e9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469995
5 changed files with 6 additions and 61 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= xqilla
PORTVERSION= 2.3.3
PORTREVISION= 1
PORTVERSION= 2.3.4
PORTEPOCH= 1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}

View File

@ -1,2 +1,3 @@
SHA256 (XQilla-2.3.3.tar.gz) = 8f76b9b4f966f315acc2a8e104e426d8a76ba4ea3441b0ecfdd1e39195674fd6
SIZE (XQilla-2.3.3.tar.gz) = 16170903
TIMESTAMP = 1526394824
SHA256 (XQilla-2.3.4.tar.gz) = adfd4df011fcda08be3f51771006da23e852bac81e2fe63159beddc3633b3f55
SIZE (XQilla-2.3.4.tar.gz) = 15436023

View File

@ -1,14 +0,0 @@
--- 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());

View File

@ -1,41 +0,0 @@
--- src/dom-api/impl/XPathNamespaceImpl.cpp.orig 2017-09-03 20:26:37 UTC
+++ 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

View File

@ -394,5 +394,5 @@ include/xqilla/xqts/TestSuiteResultListener.hpp
include/xqilla/xqts/TestSuiteRunner.hpp
lib/libxqilla.a
lib/libxqilla.so
lib/libxqilla.so.3
lib/libxqilla.so.3.3.0
lib/libxqilla.so.2
lib/libxqilla.so.2.4.0