git: 76d8d035f5b9 - main - multimedia/nymphcast: fix build on 12-

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Wed, 16 Feb 2022 14:33:04 UTC
The branch main has been updated by adridg:

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

commit 76d8d035f5b9e17f62720fb1cb02c13a59d44622
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2022-02-16 14:28:29 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-02-16 14:28:29 +0000

    multimedia/nymphcast: fix build on 12-
    
    Needs an explicit <time.h> that gets pulled in implicitly
    on newer FreeBSD releases (thanks to imp@ making the headers
    less annoyingly-pedantic).
---
 multimedia/nymphcast/Makefile                              |  1 +
 multimedia/nymphcast/files/patch-gui_core_utils_TimeUtil.h | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/multimedia/nymphcast/Makefile b/multimedia/nymphcast/Makefile
index 3f170123f3d5..8541324460fb 100644
--- a/multimedia/nymphcast/Makefile
+++ b/multimedia/nymphcast/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	NymphCast
 DISTVERSION=	v0.1-rc0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 # -p3 because WRKSRC_SUBDIR is set; the patches are from the toplevel,
diff --git a/multimedia/nymphcast/files/patch-gui_core_utils_TimeUtil.h b/multimedia/nymphcast/files/patch-gui_core_utils_TimeUtil.h
new file mode 100644
index 000000000000..acb11426a4aa
--- /dev/null
+++ b/multimedia/nymphcast/files/patch-gui_core_utils_TimeUtil.h
@@ -0,0 +1,11 @@
+--- gui/core/utils/TimeUtil.h.orig	2022-02-16 14:27:26 UTC
++++ gui/core/utils/TimeUtil.h
+@@ -2,6 +2,8 @@
+ #ifndef ES_CORE_UTILS_TIME_UTIL_H
+ #define ES_CORE_UTILS_TIME_UTIL_H
+ 
++#include <ctime>
++
+ #include <string>
+ 
+ namespace Utils