Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2021 17:35:38 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 007250765ec3 - main - security/zeek: fix build on powerpc64le
Message-ID:  <202104271735.13RHZcUk091832@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=007250765ec39a37bf8e1f14a440e7371104c224

commit 007250765ec39a37bf8e1f14a440e7371104c224
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-04-27 17:35:28 +0000
Commit:     Piotr Kubaj <pkubaj@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104271735.13RHZcUk091832>