ports/dns/powerdns-devel/files/patch-pdns_logger_cc
Pav Lucistnik 1c651cda9c - Fix build on FreeBSD 6
PR:		ports/77480
Submitted by:	Ralf van der Enden <tremere@cainites.net> (maintainer)
2005-02-14 21:41:38 +00:00

28 lines
440 B
Text

--- pdns/logger.cc.orig Fri Feb 11 12:49:28 2005
+++ pdns/logger.cc Fri Feb 11 12:51:16 2005
@@ -131,6 +131,25 @@
return *this;
}
+Logger& Logger::operator<<(long i)
+{
+ ostringstream tmp;
+ tmp<<i;
+
+ *this<<tmp.str();
+
+ return *this;
+}
+
+Logger& Logger::operator<<(unsigned long i)
+{
+ ostringstream tmp;
+ tmp<<i;
+
+ *this<<tmp.str();
+
+ return *this;
+}
Logger& Logger::operator<<(ostream & (&)(ostream &))
{