Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2021 22:44:16 GMT
From:      Craig Leres <leres@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: c3464c1eaf8c - 2021Q3 - security/zeek: fix build on powerpc64*
Message-ID:  <202109222244.18MMiGMb085496@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q3 has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c3464c1eaf8c5308d105ecdb4af3919756415b8c

commit c3464c1eaf8c5308d105ecdb4af3919756415b8c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-07-15 10:37:24 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2021-09-22 22:39:20 +0000

    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);
    
    (cherry picked from commit b91d1bd03771d45095637061c58baba5e62fc991)
---
 .../patch-auxil_highwayhash_highwayhash_arch__specific.cc    | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109222244.18MMiGMb085496>