git: e8522ff072d9 - main - multimedia/lms: unbreak build after boost upgrade

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Sun, 22 May 2022 20:17:33 UTC
The branch main has been updated by fluffy:

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

commit e8522ff072d98de4e0c8568361c6322f9d9280be
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-05-22 17:59:51 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-05-22 20:17:01 +0000

    multimedia/lms: unbreak build after boost upgrade
    
    PR:     246106
    Obtained from:  upstream
---
 multimedia/lms/Makefile                                        |  1 +
 ...bs_services_auth_include_services_auth_IPasswordService.hpp | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/multimedia/lms/Makefile b/multimedia/lms/Makefile
index 18fae6129c5b..cc476470c205 100644
--- a/multimedia/lms/Makefile
+++ b/multimedia/lms/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	lms
 DISTVERSION=	3.28.0
+PORTREVISION=	1
 MASTER_SITES=	https://github.com/epoupon/lms/archive/refs/tags/v${DISTVERSION}${EXTRACT_SUFX}?dummy=/
 CATEGORIES=	multimedia
 
diff --git a/multimedia/lms/files/patch-src_libs_services_auth_include_services_auth_IPasswordService.hpp b/multimedia/lms/files/patch-src_libs_services_auth_include_services_auth_IPasswordService.hpp
new file mode 100644
index 000000000000..b702ad3e1334
--- /dev/null
+++ b/multimedia/lms/files/patch-src_libs_services_auth_include_services_auth_IPasswordService.hpp
@@ -0,0 +1,10 @@
+--- src/libs/services/auth/include/services/auth/IPasswordService.hpp
++++ src/libs/services/auth/include/services/auth/IPasswordService.hpp
+@@ -20,6 +20,7 @@
+ #pragma once
+ 
+ #include <string_view>
++#include <optional>
+ 
+ #include <boost/asio/ip/address.hpp>
+ #include <Wt/WDateTime.h>