aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-15 10:37:24 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-15 10:37:24 +0000
commitb91d1bd03771d45095637061c58baba5e62fc991 (patch)
tree9675fb2234a6c0487be8ffbbe1a6aca193730fc3
parent6346edb3a577de48077df1ef550a18119c2561d1 (diff)
downloadports-b91d1bd03771d45095637061c58baba5e62fc991.tar.gz
ports-b91d1bd03771d45095637061c58baba5e62fc991.zip
security/zeek: fix build on powerpc64*
In file included from /wrkdirs/usr/ports/security/zeek/work/zeek-4.0.3/auxil/highwayhash/highwayhash/arch_specific.cc:27: /usr/include/sys/sysctl.h:1185:25: error: unknown type name 'u_int' int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
-rw-r--r--security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc b/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc
new file mode 100644
index 000000000000..ae6bae49a2fe
--- /dev/null
+++ b/security/zeek/files/patch-auxil_highwayhash_highwayhash_arch__specific.cc
@@ -0,0 +1,12 @@
+--- auxil/highwayhash/highwayhash/arch_specific.cc.orig 2021-07-15 09:38:08 UTC
++++ auxil/highwayhash/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
+