From 567488cc6674598c03027d7f9e70ce065c283b8c Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 21 Oct 2020 01:19:21 +0000 Subject: [PATCH] security/highwayhash: commit forgotten patch to fix powerpc64* MFH: 2020Q4 (fix build blanket) --- .../files/patch-highwayhash_arch__specific.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 security/highwayhash/files/patch-highwayhash_arch__specific.cc diff --git a/security/highwayhash/files/patch-highwayhash_arch__specific.cc b/security/highwayhash/files/patch-highwayhash_arch__specific.cc new file mode 100644 index 000000000000..1459efb4b4c2 --- /dev/null +++ b/security/highwayhash/files/patch-highwayhash_arch__specific.cc @@ -0,0 +1,11 @@ +--- highwayhash/arch_specific.cc.orig 2020-10-10 11:16:48 UTC ++++ 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