aboutsummaryrefslogtreecommitdiff
path: root/security/highwayhash
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-21 01:19:21 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-21 01:19:21 +0000
commit567488cc6674598c03027d7f9e70ce065c283b8c (patch)
tree899618fe0d432403b07d880a49e773e24bb7b265 /security/highwayhash
parentb66742f3448ac0634aae91bea87d652fd0086f6d (diff)
downloadports-567488cc6674598c03027d7f9e70ce065c283b8c.tar.gz
ports-567488cc6674598c03027d7f9e70ce065c283b8c.zip
security/highwayhash: commit forgotten patch to fix powerpc64*
MFH: 2020Q4 (fix build blanket)
Notes
Notes: svn path=/head/; revision=552850
Diffstat (limited to 'security/highwayhash')
-rw-r--r--security/highwayhash/files/patch-highwayhash_arch__specific.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/highwayhash/files/patch-highwayhash_arch__specific.cc b/security/highwayhash/files/patch-highwayhash_arch__specific.cc
new file mode 100644
index 000000000000..1459efb4b4c2
--- /dev/null
+++ b/security/highwayhash/files/patch-highwayhash_arch__specific.cc
@@ -0,0 +1,11 @@
+--- highwayhash/arch_specific.cc.orig 2020-10-10 11:16:48 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;
+ #endif