pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/dnsperf dnsperf: Fix build with BIND 9.12.3...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67b737993bd5
branches:  trunk
changeset: 324700:67b737993bd5
user:      tron <tron%pkgsrc.org@localhost>
date:      Sat Oct 27 12:04:33 2018 +0000

description:
dnsperf: Fix build with BIND 9.12.3 and newer

diffstat:

 benchmarks/dnsperf/distinfo                 |   6 +++++-
 benchmarks/dnsperf/patches/patch-datafile.h |  17 +++++++++++++++++
 benchmarks/dnsperf/patches/patch-dns.h      |  15 +++++++++++++++
 benchmarks/dnsperf/patches/patch-os.h       |  16 ++++++++++++++++
 benchmarks/dnsperf/patches/patch-util.h     |  15 +++++++++++++++
 5 files changed, 68 insertions(+), 1 deletions(-)

diffs (95 lines):

diff -r c1d3b74219e4 -r 67b737993bd5 benchmarks/dnsperf/distinfo
--- a/benchmarks/dnsperf/distinfo       Sat Oct 27 11:46:04 2018 +0000
+++ b/benchmarks/dnsperf/distinfo       Sat Oct 27 12:04:33 2018 +0000
@@ -1,7 +1,11 @@
-$NetBSD: distinfo,v 1.3 2017/05/03 06:59:13 mef Exp $
+$NetBSD: distinfo,v 1.4 2018/10/27 12:04:33 tron Exp $
 
 SHA1 (dnsperf-src-2.1.0.0-1.tar.gz) = 1a5d32feb41dd174f82f57ba62389d3480619c91
 RMD160 (dnsperf-src-2.1.0.0-1.tar.gz) = 0392903f300750ca53785f342a547eee5eb9db6d
 SHA512 (dnsperf-src-2.1.0.0-1.tar.gz) = 5571bd0855aba4affcdf81724919e60ab6762d646f8d9a6abf177a2a588675c636842f2fb708bf648004b9c411e9c9b68789f7c6bbbd87afc24c8299a21aa6c9
 Size (dnsperf-src-2.1.0.0-1.tar.gz) = 561502 bytes
 SHA1 (patch-Makefile.in) = 9f5377a75d9674a3aeb12f933f0a552564534d91
+SHA1 (patch-datafile.h) = d05f41b5d02048ffe5ca7261cd0164202fb9821a
+SHA1 (patch-dns.h) = 1c78fc5dd05c4eb32563c2cfacdabadfa9937c1b
+SHA1 (patch-os.h) = 53b573fddee3495a8b8e73088b1a4742a6b1b9ae
+SHA1 (patch-util.h) = 94893a9d867aabd43650e66ffbbb0995ceb9becd
diff -r c1d3b74219e4 -r 67b737993bd5 benchmarks/dnsperf/patches/patch-datafile.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/dnsperf/patches/patch-datafile.h       Sat Oct 27 12:04:33 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-datafile.h,v 1.1 2018/10/27 12:04:33 tron Exp $
+
+Fix build with BIND 9.12.3 and newer
+
+--- datafile.h.orig    2015-12-16 00:46:49.000000000 +0000
++++ datafile.h 2018-10-27 12:57:12.538706870 +0100
+@@ -19,6 +19,10 @@
+ #define PERF_DATAFILE_H 1
+ 
+ #include <isc/types.h>
++#include <isc/boolean.h>
++#include <isc/int.h>
++
++#define ISC_PRINT_QUADFORMAT PRIu64
+ 
+ typedef struct perf_datafile perf_datafile_t;
+ 
diff -r c1d3b74219e4 -r 67b737993bd5 benchmarks/dnsperf/patches/patch-dns.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/dnsperf/patches/patch-dns.h    Sat Oct 27 12:04:33 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-dns.h,v 1.1 2018/10/27 12:04:33 tron Exp $
+
+Fix build with BIND 9.12.3 and newer
+
+--- dns.h.orig 2015-12-16 00:46:50.000000000 +0000
++++ dns.h      2018-10-27 12:58:23.298408393 +0100
+@@ -33,6 +33,8 @@
+  */
+ 
+ #include <isc/types.h>
++#include <isc/boolean.h>
++#include <isc/int.h>
+ 
+ #ifndef PERF_DNS_H
+ #define PERF_DNS_H 1
diff -r c1d3b74219e4 -r 67b737993bd5 benchmarks/dnsperf/patches/patch-os.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/dnsperf/patches/patch-os.h     Sat Oct 27 12:04:33 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-os.h,v 1.1 2018/10/27 12:04:33 tron Exp $
+
+Fix build with BIND 9.12.3 and newer
+
+--- os.h.orig  2015-12-16 00:46:50.000000000 +0000
++++ os.h       2018-10-27 12:59:42.370351276 +0100
+@@ -18,6 +18,9 @@
+ #ifndef PERF_OS_H
+ #define PERF_OS_H 1
+ 
++#include <isc/boolean.h>
++#include <isc/int.h>
++
+ void
+ perf_os_blocksignal(int sig, isc_boolean_t block);
+ 
diff -r c1d3b74219e4 -r 67b737993bd5 benchmarks/dnsperf/patches/patch-util.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/dnsperf/patches/patch-util.h   Sat Oct 27 12:04:33 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-util.h,v 1.1 2018/10/27 12:04:33 tron Exp $
+
+Fix build with BIND 9.12.3 and newer
+
+--- util.h.orig        2015-12-16 00:46:49.000000000 +0000
++++ util.h     2018-10-27 12:59:01.184426825 +0100
+@@ -21,6 +21,8 @@
+ #include <sys/time.h>
+ 
+ #include <isc/types.h>
++#include <isc/boolean.h>
++#include <isc/int.h>
+ 
+ #include "log.h"
+ 



Home | Main Index | Thread Index | Old Index