aboutsummaryrefslogtreecommitdiffstats
path: root/dns/powerdns/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-02-15 05:41:38 +0800
committerpav <pav@FreeBSD.org>2005-02-15 05:41:38 +0800
commit6db24e8bbecb13698c36c4359935568fa5501f84 (patch)
treed0ecba7c221d2b0a0fa4a7d0515c783a72b742bf /dns/powerdns/files
parent3f70d2d905fbddd1be1bcf3ae9a5721e352c405d (diff)
downloadfreebsd-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_cc28
-rw-r--r--dns/powerdns/files/patch-pdns_logger_hh11
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
s='deletions'>-3/+3 * - Update to 1.0.25sylvio2011-06-032-3/+3 * -Restore maintainership to submitterbeech2011-05-151-1/+1 * - Reset maintainer due to email bouncestabthorpe2011-04-291-1/+1 * - Update to 1.0.24culot2011-04-232-4/+3 * Sync to new bsd.autotools.mkade2010-12-041-1/+1 * Punt autoconf267->autoconf268ade2010-10-161-1/+1 * Update to 1.0.23makc2010-10-023-19/+17 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-1/+2 * - Remove license files from pkg-plistsahil2010-07-251-5/+0