git: daa3c9cef2b2 - main - sysutils/atf-fvp: Fix build

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 09:34:55 UTC
The branch main has been updated by manu:

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

commit daa3c9cef2b2345011894dfbc9fc236081dd0ea3
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-09-22 09:32:55 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-09-22 09:34:38 +0000

    sysutils/atf-fvp: Fix build
    
    We need to define __BSD_VISIBLE so u_int and friends are defined.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sysutils/atf-master/files/patch-tools_fiptool_fiptool.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sysutils/atf-master/files/patch-tools_fiptool_fiptool.c b/sysutils/atf-master/files/patch-tools_fiptool_fiptool.c
new file mode 100644
index 000000000000..abf1e943df62
--- /dev/null
+++ b/sysutils/atf-master/files/patch-tools_fiptool_fiptool.c
@@ -0,0 +1,10 @@
+--- tools/fiptool/fiptool.c.orig	2023-09-22 09:29:57 UTC
++++ tools/fiptool/fiptool.c
+@@ -4,6 +4,7 @@
+  * SPDX-License-Identifier: BSD-3-Clause
+  */
+ 
++#define __BSD_VISIBLE 1
+ #ifndef _MSC_VER
+ #include <sys/mount.h>
+ #endif