1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

www/janus: update to 0.11.8, and add a workaround for dlerror.

PR:		261750
Reported by:	ruben@verweg.com
This commit is contained in:
Vanilla I. Shu 2022-02-13 22:14:07 +08:00
parent 5e141ead8c
commit dbced39a6b
3 changed files with 16 additions and 8 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= janus
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.7
DISTVERSION= 0.11.8
PORTREVISION= 0
CATEGORIES= www

View File

@ -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

View File

@ -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) {