mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
security/highwayhash: Update g20200803 -> g20201021
This commit is contained in:
parent
5f1a6aa7dd
commit
f58989f07f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555097
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= highwayhash
|
||||
PORTVERSION= g20200803
|
||||
PORTVERSION= g20201021
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= security
|
||||
|
||||
@ -18,7 +18,7 @@ ONLY_FOR_ARCHS_REASON= Assembly is implemented only for specific architectures i
|
||||
USES= compiler:c++11-lang gmake
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= google
|
||||
GH_TAGNAME= 954e56589a7e75bad04f1063174d78f8c17a9b3a
|
||||
GH_TAGNAME= bdd572de8cfa3a1fbef6ba32307c2629db7c4773
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1600060112
|
||||
SHA256 (google-highwayhash-g20200803-954e56589a7e75bad04f1063174d78f8c17a9b3a_GH0.tar.gz) = 3ed4fe15de16117f03d42e82a22087eee33b3d12912d1475fcf100e3f4516833
|
||||
SIZE (google-highwayhash-g20200803-954e56589a7e75bad04f1063174d78f8c17a9b3a_GH0.tar.gz) = 159379
|
||||
TIMESTAMP = 1605342604
|
||||
SHA256 (google-highwayhash-g20201021-bdd572de8cfa3a1fbef6ba32307c2629db7c4773_GH0.tar.gz) = ebe6fe710f2a4a9417410773a1aeb8e750b036d4843e457054e6209c1fd0b043
|
||||
SIZE (google-highwayhash-g20201021-bdd572de8cfa3a1fbef6ba32307c2629db7c4773_GH0.tar.gz) = 160264
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- highwayhash/arch_specific.cc.orig 2020-10-10 11:16:48 UTC
|
||||
--- highwayhash/arch_specific.cc.orig 2020-11-14 08:32:41 UTC
|
||||
+++ 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;
|
||||
@@ -174,7 +174,7 @@ double InvariantTicksPerSecond() {
|
||||
#elif __FreeBSD__
|
||||
static double cycles_per_second = 0;
|
||||
size_t length = sizeof(cycles_per_second);
|
||||
- sysctlbyname("kern.timecounter.tc.timebase.frequency", &cycles_per_second,
|
||||
+ sysctlbyname("dev.cpu.0.freq", &cycles_per_second,
|
||||
&length, NULL, 0);
|
||||
#endif
|
||||
return cycles_per_second;
|
||||
|
Loading…
Reference in New Issue
Block a user