git: a3244e67b7a9 - main - security/wazuh-manager: Fix issue on aarch64

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Tue, 04 Apr 2023 14:13:09 UTC
The branch main has been updated by acm:

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

commit a3244e67b7a90eaa3fc842d05fb40b6d40f0eee0
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-04 14:11:32 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-04 14:11:32 +0000

    security/wazuh-manager: Fix issue on aarch64
    
    - Bump PORTREVISION
    Reported by:    pkg-fallout
---
 security/wazuh-manager/Makefile                              | 1 +
 security/wazuh-manager/files/patch-src-rootcheck_os_string.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/security/wazuh-manager/Makefile b/security/wazuh-manager/Makefile
index a2fd2cf92c06..77128d95271a 100644
--- a/security/wazuh-manager/Makefile
+++ b/security/wazuh-manager/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	wazuh
 DISTVERSION=	4.4.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://packages.wazuh.com/deps/18/libraries/sources/:wazuh_sources \
 		LOCAL/acm/${PORTNAME}/:wazuh_cache
diff --git a/security/wazuh-manager/files/patch-src-rootcheck_os_string.c b/security/wazuh-manager/files/patch-src-rootcheck_os_string.c
index 7655cc71532e..fdbe184aace3 100644
--- a/security/wazuh-manager/files/patch-src-rootcheck_os_string.c
+++ b/security/wazuh-manager/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