Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2021 13:05:33 -0700
From:      Craig Leres <leres@freebsd.org>
To:        Piotr Kubaj <pkubaj@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r569048 - in head/security/zeek: . files
Message-ID:  <7110a7f4-c6ba-2fd1-7201-533165ce8a0c@freebsd.org>
In-Reply-To: <202103231843.12NIhQha019992@repo.freebsd.org>
References:  <202103231843.12NIhQha019992@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7110a7f4-c6ba-2fd1-7201-533165ce8a0c>