git: 1c1257af4ebd - main - security/wazuh-agent: Fix build on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Nov 2022 22:00:28 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1c1257af4ebd7cfea9536b6b39e153af4bf3133a
commit 1c1257af4ebd7cfea9536b6b39e153af4bf3133a
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-11-28 21:59:46 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-11-28 21:59:46 +0000
security/wazuh-agent: Fix build on aarch64
---
security/wazuh-agent/Makefile | 1 +
security/wazuh-agent/files/patch-src-rootcheck_os_string.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/security/wazuh-agent/Makefile b/security/wazuh-agent/Makefile
index 928b06915ba4..3775b82895c1 100644
--- a/security/wazuh-agent/Makefile
+++ b/security/wazuh-agent/Makefile
@@ -1,6 +1,7 @@
PORTNAME= wazuh
DISTVERSION= 4.3.10
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://packages.wazuh.com/deps/17/libraries/sources/:wazuh_sources
PKGNAMESUFFIX= -agent
diff --git a/security/wazuh-agent/files/patch-src-rootcheck_os_string.c b/security/wazuh-agent/files/patch-src-rootcheck_os_string.c
index 7655cc71532e..873eb069079c 100644
--- a/security/wazuh-agent/files/patch-src-rootcheck_os_string.c
+++ b/security/wazuh-agent/files/patch-src-rootcheck_os_string.c
@@ -5,7 +5,7 @@
#include <unistd.h>
#include <netinet/in.h>
+#ifdef __FreeBSD__
-+#include <machine/exec.h>
++#define __LDPGSZ 4096
+#endif
#ifdef SOLARIS