1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

security/zeek: fix build on powerpc64le

Fix typo in systlbyname().
This commit is contained in:
Piotr Kubaj 2021-04-27 17:35:28 +00:00
parent 1eeb9f4c46
commit 007250765e

View File

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