From d20c714eed50e2b69d9046c7ba2a150931318766 Mon Sep 17 00:00:00 2001 From: Philip Paeps Date: Sat, 11 Oct 2025 07:42:45 +0800 Subject: comms/conserver-com: fix clobbering replstring Add a patch against upstream to fix tasks which substitute replstring. [1] While here, take maintainership. Obtained from: https://github.com/bstansell/conserver/pull/126 [1] Approved by: eduardo (previous maintainer) --- comms/conserver-com/files/patch-conserver_readcfg.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 comms/conserver-com/files/patch-conserver_readcfg.c (limited to 'comms/conserver-com/files/patch-conserver_readcfg.c') diff --git a/comms/conserver-com/files/patch-conserver_readcfg.c b/comms/conserver-com/files/patch-conserver_readcfg.c new file mode 100644 index 000000000000..a683927d324c --- /dev/null +++ b/comms/conserver-com/files/patch-conserver_readcfg.c @@ -0,0 +1,14 @@ +--- conserver/readcfg.c.orig 2022-07-08 01:20:02 UTC ++++ conserver/readcfg.c +@@ -3128,9 +3128,9 @@ ConsoleAdd(CONSENT *c) + + SwapStr(&pCEmatch->motd, &c->motd); + SwapStr(&pCEmatch->idlestring, &c->idlestring); +- SwapStr(&pCEmatch->replstring, &c->breaklist); ++ SwapStr(&pCEmatch->replstring, &c->replstring); + SwapStr(&pCEmatch->tasklist, &c->tasklist); +- SwapStr(&pCEmatch->breaklist, &c->tasklist); ++ SwapStr(&pCEmatch->breaklist, &c->breaklist); + pCEmatch->portinc = c->portinc; + pCEmatch->portbase = c->portbase; + pCEmatch->spinmax = c->spinmax; -- cgit v1.2.3