From owner-svn-ports-all@freebsd.org Tue Mar 23 20:05:34 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E007C5BA66F; Tue, 23 Mar 2021 20:05:34 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4j6662cZz3tb8; Tue, 23 Mar 2021 20:05:34 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from ice.alameda.xse.com (unknown [IPv6:2600:1700:a570:e20:f2ad:4eff:fe09:150e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: leres) by smtp.freebsd.org (Postfix) with ESMTPSA id 5226828B01; Tue, 23 Mar 2021 20:05:34 +0000 (UTC) (envelope-from leres@freebsd.org) Subject: Re: svn commit: r569048 - in head/security/zeek: . files To: Piotr Kubaj , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <202103231843.12NIhQha019992@repo.freebsd.org> From: Craig Leres Message-ID: <7110a7f4-c6ba-2fd1-7201-533165ce8a0c@freebsd.org> Date: Tue, 23 Mar 2021 13:05:33 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <202103231843.12NIhQha019992@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 20:05:34 -0000 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