aboutsummaryrefslogtreecommitdiffstats
path: root/net/easysoap
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-12-11 15:23:19 +0800
committeredwin <edwin@FreeBSD.org>2002-12-11 15:23:19 +0800
commitafe244c6126fef075ce1c6e2d83d233980e806be (patch)
tree3cccf681b22a0e0984a6a19b55921d091d49cb78 /net/easysoap
parentcba5df6509fb1df022f84cf81a6da5ee54f6a822 (diff)
downloadfreebsd-ports-gnome-afe244c6126fef075ce1c6e2d83d233980e806be.tar.gz
freebsd-ports-gnome-afe244c6126fef075ce1c6e2d83d233980e806be.tar.zst
freebsd-ports-gnome-afe244c6126fef075ce1c6e2d83d233980e806be.zip
Fix build of net/easysoap
PR: ports/44993 Submitted by: Maxim Maximov <mcsi@agava.com> Approved by: Maintainer
Diffstat (limited to 'net/easysoap')
-rw-r--r--net/easysoap/Makefile2
-rw-r--r--net/easysoap/files/patch-src::XMLParser.cpp62
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;
+ }