freebsd-ports/games/netradiant/files/patch-libs-xml-xmlparser.h
Alexey Dokuchaev cc94ea99ca - Comment out apparently unused yet offending piece of code to unbreak the
build on amd64 (tested on MacBookPro6,2)
- Unify the usage of pre/do-install targets in both ports and stagify them

Reported by:	pkg-fallout
2013-12-15 15:54:17 +00:00

17 lines
541 B
C++

--- libs/xml/xmlparser.h.orig 2013-06-30 22:04:34.000000000 +0800
+++ libs/xml/xmlparser.h 2013-12-15 01:59:46.000000000 +0800
@@ -102,12 +102,14 @@ inline TextOutputStreamType& ostream_wri
return ostream;
}
+#if 0
template<typename TextOutputStreamType>
inline TextOutputStreamType& ostream_write( TextOutputStreamType& ostream, const Formatted& formatted ){
char buffer[1024];
ostream.write( buffer, vsnprintf( buffer, 1023, formatted.m_format, formatted.m_arguments ) );
return ostream;
}
+#endif
class XMLSAXImporter
{