git: 007250765ec3 - main - security/zeek: fix build on powerpc64le
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Apr 27 17:35:38 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=007250765ec39a37bf8e1f14a440e7371104c224
commit 007250765ec39a37bf8e1f14a440e7371104c224
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-04-27 17:35:28 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-04-27 17:35:28 +0000
security/zeek: fix build on powerpc64le
Fix typo in systlbyname().
---
.../patch-auxil_highwayhash_highwayhash_arch__specific.cc | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc b/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc
new file mode 100644
index 000000000000..eda7565aad24
--- /dev/null
+++ b/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc
@@ -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
More information about the dev-commits-ports-all
mailing list