git: 80bb8af766f4 - main - emulators/openmsx: Fix build with GCC 12

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Fri, 09 Sep 2022 11:20:46 UTC
The branch main has been updated by salvadore:

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

commit 80bb8af766f42899b48e0af552f1305ce3b17029
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2022-09-09 11:16:11 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2022-09-09 11:20:33 +0000

    emulators/openmsx: Fix build with GCC 12
    
    Fix build with GCC 12 which is soon to become GCC_DEFAULT version.
    
    PR:             266191
    Reported by:    exp-run (antoine)
---
 emulators/openmsx/files/patch-src_file_FileBase.hh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/emulators/openmsx/files/patch-src_file_FileBase.hh b/emulators/openmsx/files/patch-src_file_FileBase.hh
new file mode 100644
index 000000000000..beddff253d38
--- /dev/null
+++ b/emulators/openmsx/files/patch-src_file_FileBase.hh
@@ -0,0 +1,10 @@
+--- src/file/FileBase.hh.orig	2022-09-09 08:27:57 UTC
++++ src/file/FileBase.hh
+@@ -4,6 +4,7 @@
+ #include "MemBuffer.hh"
+ #include "span.hh"
+ #include <cstdint>
++#include <ctime>
+ #include <string>
+ 
+ namespace openmsx {