svn commit: r569048 - in head/security/zeek: . files

Piotr Kubaj pkubaj at anongoth.pl
Tue Mar 23 21:18:48 UTC 2021


It actually looks like it's already fixed in upstream https://github.com/google/highwayhash/blob/master/highwayhash/arch_specific.cc#L153

On 21-03-23 13:05:33, Craig Leres wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20210323/9304e666/attachment.sig>


More information about the svn-ports-head mailing list