diff options
author | Palle Girgensohn <girgen@FreeBSD.org> | 2018-01-19 20:33:23 +0000 |
---|---|---|
committer | Palle Girgensohn <girgen@FreeBSD.org> | 2018-01-19 20:33:23 +0000 |
commit | 2ba02089ce45a4237398632373a4f99affa5b325 (patch) | |
tree | 65ce8937cb38098cf584d010185f80853ab1105e /security/apache-xml-security-c/files/patch-xsec_canon_XSECC14n20010315.cpp | |
parent | - Update to 2.4.0 (diff) |
Fix build problems with clang
Two patches where pulled from upstream repository.
Notes
Notes:
svn path=/head/; revision=459469
Diffstat (limited to 'security/apache-xml-security-c/files/patch-xsec_canon_XSECC14n20010315.cpp')
-rw-r--r-- | security/apache-xml-security-c/files/patch-xsec_canon_XSECC14n20010315.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/apache-xml-security-c/files/patch-xsec_canon_XSECC14n20010315.cpp b/security/apache-xml-security-c/files/patch-xsec_canon_XSECC14n20010315.cpp new file mode 100644 index 000000000000..d077c89d10f4 --- /dev/null +++ b/security/apache-xml-security-c/files/patch-xsec_canon_XSECC14n20010315.cpp @@ -0,0 +1,22 @@ +Index: xsec/canon/XSECC14n20010315.cpp +=================================================================== +--- xsec/canon/XSECC14n20010315.cpp (revision 1821687) ++++ xsec/canon/XSECC14n20010315.cpp (working copy) +@@ -1148,7 +1148,7 @@ + // Is this the default? + if (currentName.sbStrcmp("xmlns") == 0 && + (!m_XPathSelection || m_XPathMap.hasNode(tmpAtts->item(i))) && +- !currentValue.sbStrcmp("") == 0) ++ currentValue.sbStrcmp("") != 0) + xmlnsFound = true; + + // A namespace node - See if we need to output +@@ -1297,7 +1297,7 @@ + // Is this the default? + if (currentName.sbStrcmp("xmlns") == 0 && + (!m_XPathSelection || m_XPathMap.hasNode(nsnode)) && +- !currentValue.sbStrcmp("") == 0) ++ currentValue.sbStrcmp("") != 0) + xmlnsFound = true; + + // A namespace node - See if we need to output |