git: e3122de1db40 - main - multimedia/zoneminder: Fix build with libressl 3.5

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Tue, 01 Nov 2022 10:33:49 UTC
The branch main has been updated by zirias:

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

commit e3122de1db40f7141ba55866843a6560d3fe0624
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2022-10-18 11:03:49 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2022-11-01 10:32:02 +0000

    multimedia/zoneminder: Fix build with libressl 3.5
    
    PR:             267198
    Approved by:    bsd@abinet.ru (maintainer), tcberner (mentor)
---
 .../files/patch-dep_jwt-cpp_include_jwt-cpp_jwt.h          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/multimedia/zoneminder/files/patch-dep_jwt-cpp_include_jwt-cpp_jwt.h b/multimedia/zoneminder/files/patch-dep_jwt-cpp_include_jwt-cpp_jwt.h
new file mode 100644
index 000000000000..aa01fb69f479
--- /dev/null
+++ b/multimedia/zoneminder/files/patch-dep_jwt-cpp_include_jwt-cpp_jwt.h
@@ -0,0 +1,14 @@
+--- dep/jwt-cpp/include/jwt-cpp/jwt.h.orig	2022-10-18 11:00:07 UTC
++++ dep/jwt-cpp/include/jwt-cpp/jwt.h
+@@ -45,11 +45,6 @@
+ #define OPENSSL110
+ #endif
+ 
+-#if defined(LIBRESSL_VERSION_NUMBER)
+-#define OPENSSL10
+-#define OPENSSL110
+-#endif
+-
+ #ifndef JWT_CLAIM_EXPLICIT
+ #define JWT_CLAIM_EXPLICIT explicit
+ #endif