diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-14 21:41:38 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-14 21:41:38 +0000 |
commit | 1c651cda9c10acde9b15eae1bae9fdb225f5df6e (patch) | |
tree | 5867051eb8e109f732747e5fdba41d72d2b83584 /dns/powerdns-devel | |
parent | 19fae4d1f759246ec9e96baafbdd9c53b735b617 (diff) | |
download | ports-1c651cda9c10acde9b15eae1bae9fdb225f5df6e.tar.gz ports-1c651cda9c10acde9b15eae1bae9fdb225f5df6e.zip |
Notes
Diffstat (limited to 'dns/powerdns-devel')
-rw-r--r-- | dns/powerdns-devel/Makefile | 4 | ||||
-rw-r--r-- | dns/powerdns-devel/files/patch-pdns_logger_cc | 28 | ||||
-rw-r--r-- | dns/powerdns-devel/files/patch-pdns_logger_hh | 11 |
3 files changed, 39 insertions, 4 deletions
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile index 15d963048a0e..b07dff8d1f2f 100644 --- a/dns/powerdns-devel/Makefile +++ b/dns/powerdns-devel/Makefile @@ -32,10 +32,6 @@ LIBMAP_CONF= /etc/libmap.conf .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 600000 -BROKEN= "Does not compile on FreeBSD 6.0" -.endif - # use user config if possible .if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" diff --git a/dns/powerdns-devel/files/patch-pdns_logger_cc b/dns/powerdns-devel/files/patch-pdns_logger_cc new file mode 100644 index 000000000000..cc60d58b45f7 --- /dev/null +++ b/dns/powerdns-devel/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-devel/files/patch-pdns_logger_hh b/dns/powerdns-devel/files/patch-pdns_logger_hh new file mode 100644 index 000000000000..239e45f23376 --- /dev/null +++ b/dns/powerdns-devel/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 |