diff options
author | pav <pav@FreeBSD.org> | 2005-02-15 05:41:38 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-02-15 05:41:38 +0800 |
commit | 6db24e8bbecb13698c36c4359935568fa5501f84 (patch) | |
tree | d0ecba7c221d2b0a0fa4a7d0515c783a72b742bf /dns/powerdns/files | |
parent | 3f70d2d905fbddd1be1bcf3ae9a5721e352c405d (diff) | |
download | freebsd-ports-gnome-6db24e8bbecb13698c36c4359935568fa5501f84.tar.gz freebsd-ports-gnome-6db24e8bbecb13698c36c4359935568fa5501f84.tar.zst freebsd-ports-gnome-6db24e8bbecb13698c36c4359935568fa5501f84.zip |
- Fix build on FreeBSD 6
PR: ports/77480
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer)
Diffstat (limited to 'dns/powerdns/files')
-rw-r--r-- | dns/powerdns/files/patch-pdns_logger_cc | 28 | ||||
-rw-r--r-- | dns/powerdns/files/patch-pdns_logger_hh | 11 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dns/powerdns/files/patch-pdns_logger_cc b/dns/powerdns/files/patch-pdns_logger_cc new file mode 100644 index 000000000000..cc60d58b45f7 --- /dev/null +++ b/dns/powerdns/files/patch-pdns_logger_cc @@ -0,0 +1,28 @@ +--- 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 &)) + { diff --git a/dns/powerdns/files/patch-pdns_logger_hh b/dns/powerdns/files/patch-pdns_logger_hh new file mode 100644 index 000000000000..239e45f23376 --- /dev/null +++ b/dns/powerdns/files/patch-pdns_logger_hh @@ -0,0 +1,11 @@ +--- pdns/logger.hh.orig Sat Jan 29 12:51:20 2005 ++++ pdns/logger.hh Sat Jan 29 12:52:22 2005 +@@ -111,6 +111,8 @@ + Logger& operator<<(const string &s); //!< log a string + Logger& operator<<(int); //!< log an int + Logger& operator<<(unsigned int); //!< log an unsigned int ++ Logger& operator<<(long); //!< log a long ++ Logger& operator<<(unsigned long); //!< log an unsigned long + Logger& operator<<(Urgency); //!< set the urgency, << style + + #ifndef WIN32 |