MFH: r552850
security/highwayhash: commit forgotten patch to fix powerpc64* Approved by: portmgr (fix build blanket)
This commit is contained in:
parent
3e0d663e45
commit
d4b6af12e0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=552851
@ -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
|
Loading…
Reference in New Issue
Block a user