aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Palmen <zirias@FreeBSD.org>2022-10-18 11:03:49 +0000
committerFelix Palmen <zirias@FreeBSD.org>2022-11-01 10:32:02 +0000
commite3122de1db40f7141ba55866843a6560d3fe0624 (patch)
treeb9f5879e3f6783e860f4f859f4678cbcaa0bcb0b
parent59e28f1603b39daa7ebe4ad909bbd3146927a004 (diff)
downloadports-e3122de1db40f7141ba55866843a6560d3fe0624.tar.gz
ports-e3122de1db40f7141ba55866843a6560d3fe0624.zip
multimedia/zoneminder: Fix build with libressl 3.5
PR: 267198 Approved by: bsd@abinet.ru (maintainer), tcberner (mentor)
-rw-r--r--multimedia/zoneminder/files/patch-dep_jwt-cpp_include_jwt-cpp_jwt.h14
1 files changed, 14 insertions, 0 deletions
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