git: dbced39a6b93 - main - www/janus: update to 0.11.8, and add a workaround for dlerror.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Feb 2022 14:16:08 UTC
The branch main has been updated by vanilla:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dbced39a6b93061cddb846eed724fefe23c50090
commit dbced39a6b93061cddb846eed724fefe23c50090
Author: Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2022-02-13 14:14:07 +0000
Commit: Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2022-02-13 14:14:07 +0000
www/janus: update to 0.11.8, and add a workaround for dlerror.
PR: 261750
Reported by: ruben@verweg.com
---
www/janus/Makefile | 2 +-
www/janus/distinfo | 6 +++---
www/janus/files/patch-janus.c | 16 ++++++++++++----
3 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/www/janus/Makefile b/www/janus/Makefile
index 79d39872a643..4ae29ffa53db 100644
--- a/www/janus/Makefile
+++ b/www/janus/Makefile
@@ -1,6 +1,6 @@
PORTNAME= janus
DISTVERSIONPREFIX= v
-DISTVERSION= 0.11.7
+DISTVERSION= 0.11.8
PORTREVISION= 0
CATEGORIES= www
diff --git a/www/janus/distinfo b/www/janus/distinfo
index f3276e702e6a..21ca6f348928 100644
--- a/www/janus/distinfo
+++ b/www/janus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643508987
-SHA256 (meetecho-janus-gateway-v0.11.7_GH0.tar.gz) = 854acbfc151dcc2cbc8de3fc189ab78e4e83db307b0a0386c4c7cd0bb0d69696
-SIZE (meetecho-janus-gateway-v0.11.7_GH0.tar.gz) = 7103053
+TIMESTAMP = 1644715713
+SHA256 (meetecho-janus-gateway-v0.11.8_GH0.tar.gz) = 2b065c5feaec9e40b2310b97cf598bb53346b326bdad73f57b3de319eb0fc65f
+SIZE (meetecho-janus-gateway-v0.11.8_GH0.tar.gz) = 7116815
diff --git a/www/janus/files/patch-janus.c b/www/janus/files/patch-janus.c
index 6ef7380ecbcb..a6be811351b7 100644
--- a/www/janus/files/patch-janus.c
+++ b/www/janus/files/patch-janus.c
@@ -1,10 +1,18 @@
---- janus.c.orig 2021-10-18 15:46:53 UTC
+--- janus.c.orig 2022-02-11 08:56:29 UTC
+++ janus.c
-@@ -4359,6 +4359,7 @@ gint main(int argc, char *argv[])
- if (!event) {
- JANUS_LOG(LOG_ERR, "\tCouldn't load logger plugin '%s': %s\n", eventent->d_name, dlerror());
+@@ -4423,6 +4423,7 @@ gint main(int argc, char *argv[])
+ if (exit_on_dl_error)
+ exit(1);
} else {
+ dlerror();
create_l *create = (create_l*) dlsym(event, "create");
const char *dlsym_error = dlerror();
if (dlsym_error) {
+@@ -5447,6 +5448,7 @@ gint main(int argc, char *argv[])
+ if (exit_on_dl_error)
+ exit(1);
+ } else {
++ dlerror();
+ create_p *create = (create_p*) dlsym(plugin, "create");
+ const char *dlsym_error = dlerror();
+ if (dlsym_error) {