git: 66b823a418dd - main - multimedia/nymphcast: fix build on FreeBSD 12 (missing includes)

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Wed, 23 Mar 2022 13:00:51 UTC
The branch main has been updated by adridg:

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

commit 66b823a418ddb7b19eafad23cdfae62f2ae49b1e
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2022-03-23 12:28:36 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-03-23 13:00:47 +0000

    multimedia/nymphcast: fix build on FreeBSD 12 (missing includes)
---
 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 2f2ce3c39398..f3d2cd4c7b8e 100644
--- a/multimedia/nymphcast/Makefile
+++ b/multimedia/nymphcast/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	NymphCast
 DISTVERSION=	v0.1-rc1
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	adridg@FreeBSD.org
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..2e5dc17e65cc
--- /dev/null
+++ b/multimedia/nymphcast/files/patch-gui_core_utils_TimeUtil.h
@@ -0,0 +1,11 @@
+--- gui/core/utils/TimeUtil.h.orig	2022-03-22 09:33:58 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 <time.h>
++
+ #include <string>
+ 
+ namespace Utils