MFH: r552850

security/highwayhash: commit forgotten patch to fix powerpc64*

Approved by:	portmgr (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-10-21 01:20:44 +00:00
parent 3e0d663e45
commit d4b6af12e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=552851

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