$OpenBSD: patch-src_resperf_c,v 1.1 2020/02/23 11:59:55 sthen Exp $

update for API change in newer BIND
https://github.com/isc-projects/bind9/commit/1b716a39f51200027388d90290488a648a8ccf5b
https://github.com/isc-projects/bind9/commit/4459745ff2425f38418acd5be2fcaf9bc969fc61

Index: src/resperf.c
--- src/resperf.c.orig
+++ src/resperf.c
@@ -226,10 +226,7 @@ setup(int argc, char** argv)
     isc_result_t result;
     const char*  _mode = 0;
 
-    result = isc_mem_create(0, 0, &mctx);
-    if (result != ISC_R_SUCCESS)
-        perf_log_fatal("creating memory context: %s",
-            isc_result_totext(result));
+    isc_mem_create(&mctx);
 
     dns_result_register();
 
