svn commit: r569048 - in head/security/zeek: . files
Craig Leres
leres at freebsd.org
Tue Mar 23 20:05:35 UTC 2021
On 3/23/21 11:43 AM, Piotr Kubaj wrote:
> Author: pkubaj
> Date: Tue Mar 23 18:43:26 2021
> New Revision: 569048
> URL: https://svnweb.freebsd.org/changeset/ports/569048
>
> Log:
> security/zeek: fix build on powerpc64 elfv2
>
> -mpowerp8-vector is now necessary due to use of highwayhash.
>
> Fix typo on sysctlbyname.
[...]
> Added: head/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc Tue Mar 23 18:43:26 2021 (r569048)
> @@ -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
Thanks for the fixes.
Do you plan on submitting an upstream PR for the sysctlbyname fix?
Craig
More information about the svn-ports-head
mailing list