mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
security/zeek: fix build on powerpc64 elfv2
-mpowerp8-vector is now necessary due to use of highwayhash. Fix typo on sysctlbyname. Also correct typo in BROKEN entries.
This commit is contained in:
parent
931d63ac9e
commit
c48eabf476
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=569048
security/zeek
@ -12,14 +12,15 @@ COMMENT= System for detecting network intruders in real-time
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
BROKEN_FreeBSD_11_powerpc64== Does not build: error: zero-size array 'names'
|
||||
BROKEN_FreeBSD_12_powerpc64== Does not build: error: zero-size array 'names'
|
||||
BROKEN_FreeBSD_11_powerpc64= Does not build: error: zero-size array 'names'
|
||||
BROKEN_FreeBSD_12_powerpc64= Does not build: error: zero-size array 'names'
|
||||
|
||||
USES= bison cmake compiler:c++11-lang gettext-runtime ninja perl5 python shebangfix ssl
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PORTSCOUT= limit:0,even
|
||||
|
||||
CXXFLAGS_powerpc64= -mpower8-vector
|
||||
CMAKE_ARGS+= -DPYTHON_EXECUTABLE:PATH=${PYTHON_CMD}
|
||||
|
||||
SHEBANG_FILES= auxil/zeekctl/auxil/trace-summary/trace-summary
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- auxil/highwayhash/highwayhash/arch_specific.cc.orig 2021-03-23 17:45:40 UTC
|
||||
+++ auxil/highwayhash/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
|
Loading…
Reference in New Issue
Block a user