freebsd-ports/security/highwayhash/files/patch-highwayhash_arch__specific.cc
Piotr Kubaj 0be729d743 security/highwayhash: remove obviously wrong hunk that I somehow missed before
The function reads TimeBase frequency, not the CPU frequency.
2020-12-09 16:29:49 +00:00

12 lines
298 B
C++

--- highwayhash/arch_specific.cc.orig 2020-09-22 06:18:43 UTC
+++ highwayhash/arch_specific.cc
@@ -24,8 +24,8 @@
#if __GLIBC__
#include <sys/platform/ppc.h> // __ppc_get_timebase_freq
#elif __FreeBSD__
-#include <sys/sysctl.h>
#include <sys/types.h>
+#include <sys/sysctl.h>
#endif
#endif