# HG changeset patch # User Franz Glasner # Date 1667810018 -3600 # Node ID 4e4af36a675aa77a46ad56d894540813f1eb5802 # Parent 82a6a52479ea8f6fb832b572017477b35a662798 Update to GH version 4.6.0. On the first look: compiles ok, plist ok, packages ok. diff -r 82a6a52479ea -r 4e4af36a675a Makefile --- a/Makefile Mon Nov 07 09:13:47 2022 +0100 +++ b/Makefile Mon Nov 07 09:33:38 2022 +0100 @@ -1,5 +1,5 @@ PORTNAME= turnserver -PORTVERSION= 4.5.2 +PORTVERSION= 4.6.0 CATEGORIES= net MASTER_SITES= http://turnserver.open-sys.org/downloads/extradocs/:xdocs \ http://coturn.net/turnserver/extradocs/:xdocs diff -r 82a6a52479ea -r 4e4af36a675a distinfo --- a/distinfo Mon Nov 07 09:13:47 2022 +0100 +++ b/distinfo Mon Nov 07 09:33:38 2022 +0100 @@ -1,5 +1,5 @@ -TIMESTAMP = 1611087218 +TIMESTAMP = 1667809858 SHA256 (turn.extra.docs-2.0.0.1.tar.gz) = 3a86600fd0a30ce7aeb547e80402ce68ea9959f7dd58697e5b47fda6e33ab9ce SIZE (turn.extra.docs-2.0.0.1.tar.gz) = 485379 -SHA256 (coturn-coturn-4.5.2_GH0.tar.gz) = 462f1aa5c2455f28c1c8df09510d9e88ab14a1159b5e33ea5be5095262e83745 -SIZE (coturn-coturn-4.5.2_GH0.tar.gz) = 442745 +SHA256 (coturn-coturn-4.6.0_GH0.tar.gz) = 42206be7696014920dbe0ce309c602283ba71275eff51062e5456370fbacb863 +SIZE (coturn-coturn-4.6.0_GH0.tar.gz) = 474423 diff -r 82a6a52479ea -r 4e4af36a675a files/patch-src_apps_common_hiredis__libevent2.c --- a/files/patch-src_apps_common_hiredis__libevent2.c Mon Nov 07 09:13:47 2022 +0100 +++ b/files/patch-src_apps_common_hiredis__libevent2.c Mon Nov 07 09:33:38 2022 +0100 @@ -1,4 +1,4 @@ ---- src/apps/common/hiredis_libevent2.c.orig 2021-01-10 19:59:55 UTC +--- src/apps/common/hiredis_libevent2.c.orig 2022-09-13 07:33:12 UTC +++ src/apps/common/hiredis_libevent2.c @@ -55,6 +55,7 @@ struct redisLibeventEvents char *ip; @@ -37,9 +37,9 @@ + ac = redisAsyncConnect(ip, port); + } if (!ac) { - fprintf(stderr,"Error: %s:%s\n", ac->errstr, ac->c.errstr); + fprintf(stderr,"Error: redisAsyncConnect returned NULL\n"); return NULL; -@@ -256,6 +265,11 @@ redis_context_handle redisLibeventAttach(struct event_ +@@ -260,6 +269,11 @@ redis_context_handle redisLibeventAttach(struct event_ e->port = port; if(pwd) e->pwd = strdup(pwd); @@ -51,7 +51,7 @@ e->db = db; /* Register functions to start/stop listening for events */ -@@ -277,6 +291,12 @@ redis_context_handle redisLibeventAttach(struct event_ +@@ -281,6 +295,12 @@ redis_context_handle redisLibeventAttach(struct event_ e); if (e->rev == NULL || e->wev == NULL) { @@ -64,7 +64,7 @@ free(e); return NULL; } -@@ -327,7 +347,11 @@ static void redis_reconnect(struct redisLibeventEvents +@@ -331,7 +351,11 @@ static void redis_reconnect(struct redisLibeventEvents e->context = NULL; }