diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-11 07:23:19 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-11 07:23:19 +0000 |
commit | 97a55fa354ee7de81e7218b46843881129d427a1 (patch) | |
tree | ff4f0a92354a82d0ffbedc2485da16324d99e8f5 /net/easysoap | |
parent | eab5ff67b81250c22a1d40c5e4fdc68fb6ec20f7 (diff) | |
download | ports-97a55fa354ee7de81e7218b46843881129d427a1.tar.gz ports-97a55fa354ee7de81e7218b46843881129d427a1.zip |
Notes
Diffstat (limited to 'net/easysoap')
-rw-r--r-- | net/easysoap/Makefile | 2 | ||||
-rw-r--r-- | net/easysoap/files/patch-src::XMLParser.cpp | 62 |
2 files changed, 63 insertions, 1 deletions
diff --git a/net/easysoap/Makefile b/net/easysoap/Makefile index 2ca1fbcd8c2e..d2c7e740a61d 100644 --- a/net/easysoap/Makefile +++ b/net/easysoap/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= EasySoap++-${PORTVERSION} -MAINTAINER= gabriel_ambuehl@buz.ch +MAINTAINER= gabriel_ambuehl@buz.ch LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 diff --git a/net/easysoap/files/patch-src::XMLParser.cpp b/net/easysoap/files/patch-src::XMLParser.cpp new file mode 100644 index 000000000000..30255f111562 --- /dev/null +++ b/net/easysoap/files/patch-src::XMLParser.cpp @@ -0,0 +1,62 @@ +--- src/XMLParser.cpp.orig Wed Nov 6 14:04:53 2002 ++++ src/XMLParser.cpp Wed Nov 6 14:11:19 2002 +@@ -46,7 +46,7 @@ + { + if (m_parser) + { +- XML_ParserFree(m_parser); ++ XML_ParserFree((XML_Parser) m_parser); + m_parser = 0; + } + } +@@ -56,27 +56,27 @@ + { + FreeParser(); + m_parser = XML_ParserCreateNS(encoding, '#'); +- XML_SetElementHandler(m_parser, ++ XML_SetElementHandler((XML_Parser) m_parser, + XMLParser::_startElement, + XMLParser::_endElement); + +- XML_SetCharacterDataHandler(m_parser, ++ XML_SetCharacterDataHandler((XML_Parser) m_parser, + XMLParser::_characterData); + +- XML_SetStartNamespaceDeclHandler(m_parser, ++ XML_SetStartNamespaceDeclHandler((XML_Parser) m_parser, + XMLParser::_startNamespace); + +- XML_SetEndNamespaceDeclHandler(m_parser, ++ XML_SetEndNamespaceDeclHandler((XML_Parser) m_parser, + XMLParser::_endNamespace); + +- XML_SetUserData(m_parser, this); ++ XML_SetUserData((XML_Parser) m_parser, this); + } + + void * + XMLParser::GetParseBuffer(int size) + { + if (m_parser) +- return XML_GetBuffer(m_parser, size); ++ return XML_GetBuffer((XML_Parser) m_parser, size); + return 0; + } + +@@ -84,7 +84,7 @@ + XMLParser::ParseBuffer(int size) + { + if (m_parser) +- return XML_ParseBuffer(m_parser, size, size == 0) != 0; ++ return XML_ParseBuffer((XML_Parser) m_parser, size, size == 0) != 0; + return false; + } + +@@ -92,7 +92,7 @@ + XMLParser::GetErrorMessage() + { + if (m_parser) +- return XML_ErrorString(XML_GetErrorCode(m_parser)); ++ return XML_ErrorString(XML_GetErrorCode((XML_Parser) m_parser)); + return 0; + } |