summaryrefslogtreecommitdiff
path: root/net/powerdns-recursor/patches/patch-misc.hh
diff options
context:
space:
mode:
Diffstat (limited to 'net/powerdns-recursor/patches/patch-misc.hh')
-rw-r--r--net/powerdns-recursor/patches/patch-misc.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/powerdns-recursor/patches/patch-misc.hh b/net/powerdns-recursor/patches/patch-misc.hh
new file mode 100644
index 00000000000..b5b0bf8831f
--- /dev/null
+++ b/net/powerdns-recursor/patches/patch-misc.hh
@@ -0,0 +1,13 @@
+$NetBSD: patch-misc.hh,v 1.1.2.2 2020/06/25 18:21:29 bsiegert Exp $
+
+backport changes based on PR #9127 from
+https://github.com/PowerDNS/pdns/pull/9127
+
+--- misc.hh.orig 2020-05-08 09:31:59.000000000 +0000
++++ misc.hh
+@@ -607,3 +607,5 @@ bool isSettingThreadCPUAffinitySupported
+ int mapThreadToCPUList(pthread_t tid, const std::set<int>& cpus);
+
+ std::vector<ComboAddress> getResolvers(const std::string& resolvConfPath);
++
++std::string getCarbonHostName();