From 007250765ec39a37bf8e1f14a440e7371104c224 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 27 Apr 2021 17:35:28 +0000 Subject: [PATCH] security/zeek: fix build on powerpc64le Fix typo in systlbyname(). --- ...ch-auxil_highwayhash_highwayhash_arch__specific.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc diff --git a/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc b/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc new file mode 100644 index 000000000000..eda7565aad24 --- /dev/null +++ b/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc @@ -0,0 +1,11 @@ +--- auxil/highwayhash/highwayhash/arch_specific.cc.orig 2021-03-23 17:45:40 UTC ++++ auxil/highwayhash/highwayhash/arch_specific.cc +@@ -150,7 +150,7 @@ double DetectNominalClockRate() { + } + #elif __FreeBSD__ + size_t length = sizeof(freq); +- sysctlbyname("dev.cpu.0.freq"), &freq, &length, NULL, 0); ++ sysctlbyname("dev.cpu.0.freq", &freq, &length, NULL, 0); + freq *= 1E6; + return freq; + #endif