security/highwayhash: commit forgotten patch to fix powerpc64*

MFH:		2020Q4 (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-10-21 01:19:21 +00:00
parent b66742f344
commit 567488cc66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552850

View File

@ -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