Created attachment 235741 [details] ossec-hids-3.7.0.build-fix.diff I haven't included deletions in the previous patch. Basically all patches in the port must be removed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1d0b5eecdb0aef92f8c37fa94ebad66dda141d6 commit b1d0b5eecdb0aef92f8c37fa94ebad66dda141d6 Author: Dominik Lisiak <dominik.lisiak@bemsoft.pl> AuthorDate: 2022-08-12 07:08:57 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-08-12 07:13:02 +0000 security/ossec-hids* : Fix build Remove unwanted patches from previous commit PR: 265688 Fixes: 2b0855d security/ossec-hids: Update to 3.7.0 .../files/patch-src_addagent_main.c (gone) | 18 ------------------ .../files/patch-src_addagent_manage__agents.h (gone) | 8 -------- .../files/patch-src_client-agent_agentd.c (gone) | 19 ------------------- .../files/patch-src_client-agent_agentd.h (gone) | 11 ----------- .../files/patch-src_client-agent_config.c (gone) | 12 ------------ .../files/patch-src_os__net_os__net.c (gone) | 10 ---------- 6 files changed, 78 deletions(-)