head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.20 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.18 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.16 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.14 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.12 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.10 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.8 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.6 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.4 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.2 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.2.0.6 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.4 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.1.0.4 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.2 pkgsrc-2022Q3-base:1.1; locks; strict; comment @// @; 1.3 date 2023.11.07.07.58.36; author fcambus; state Exp; branches; next 1.2; commitid 8P5y5WHLQA4NrELE; 1.2 date 2023.01.07.09.37.37; author fcambus; state Exp; branches; next 1.1; commitid MJiJTPOfaxEBLA8E; 1.1 date 2022.09.18.12.21.18; author nia; state Exp; branches; next ; commitid HcdjlF4sW6kZelUD; desc @@ 1.3 log @swirc: update to 3.4.6. ## [3.4.6] - 2023-11-05 ## - **Added** adoption of SPDX-tags for the distributed manual pages - **Added** better detection of server Wallops - **Added** command-line option `-S` (Force TLS) - **Added** event 249 (`RPL_STATSDEBUG`) - **Added** extensive use of the `CPPFLAGS` make macro - **Added** handling of empty user@@host combinations in Wallops messages - **Added** handling of znc messages. (Made them look like notices and appear in the active window.) - **Added** protection for bad filenames for IRC logs - **Added** translations - **Changed** the way of recognizing a user mode versus channel mode - **Did** code improvements - **Fixed** occurrences of hardcoded function names in messages - **Fixed** typos in manual pages - **Improved** C++ exception handling - **Limited** notification messages in length ## [3.4.5] - 2023-09-14 ## - **Added** command-line option `-W` - **Added** tab completion for: - `/cs`, `/chanserv` - `/ns`, `/nickserv` - `/squery` - **Added** the following commands: - `/admin` - `/die` - `/gline` - `/info` - `/ison` - `/kline` - `/rehash` - `/restart` - `/servstats` - `/wallops` - **Added** the following events: - 211 (`RPL_STATSLINKINFO`) - 212 (`RPL_STATSCOMMANDS`) - 216 (`RPL_STATSKLINE`) - 219 (`RPL_ENDOFSTATS`) - 242 (`RPL_STATSUPTIME`) - 256 (`RPL_ADMINME`) - 257 (`RPL_ADMINLOC1`) - 258 (`RPL_ADMINLOC2`) - 259 (`RPL_ADMINEMAIL`) - 303 (`RPL_ISON`) - 371 (`RPL_INFO`) - 374 (`RPL_ENDOFINFO`) - **Added** translations - **Did** code improvements @ text @$NetBSD: patch-src_printtext.cpp,v 1.2 2023/01/07 09:37:37 fcambus Exp $ Support iconv prototype on NetBSD 9 and earlier. --- src/printtext.cpp.orig 2023-11-05 13:36:56.000000000 +0000 +++ src/printtext.cpp @@@@ -39,6 +39,15 @@@@ #include #endif +#if defined(__NetBSD__) +#include +#if __NetBSD_Prereq__(9,99,17) +#define NETBSD_POSIX_ICONV 1 +#else +#define NETBSD_POSIX_ICONV 0 +#endif +#endif + #include "assertAPI.h" #include "atomicops.h" #ifdef UNIT_TESTING @@@@ -1411,8 +1420,13 @@@@ get_buffer(CSTRING orig) out[outbytes] = '\0'; out_p = addrof(out[0]); errno = 0; +#if (defined(__NetBSD__) && !NETBSD_POSIX_ICONV) || defined(__sun) + if (iconv(cd, (const char **)&in, &inbytes, &out_p, &outbytes) == static_cast + (-1)) { +#else if (iconv(cd, &in, &inbytes, &out_p, &outbytes) == static_cast (-1)) { +#endif free(orig_copy); free(out); (void) iconv_close(cd); @ 1.2 log @swirc: update to 3.3.9. ## [3.3.9] - 2023-01-07 ## - **Added** micro optimizations - **Added** rules for nickname highlighting - **Added** SASL auth mechanism: **external** - **Added** support for the **GNU Hurd OS** - **Added** tab completion for: - `/connect` - `/time` - `/version` - **Added** the following commands: - `/qbot` - `/stats` - **Added** the following config options: - `cmd_type_prot` (bool) - `ctcp_reply` (bool) - `qbot_host` (string) - `sasl_x509` (string) - **Improved** tab completion for: - `/msg` - `/notice` - `/whois` ### Linux ### - **Fixed** building on riscv64. Contributed by [Eric Long](https://github.com/hack3ric) - thanks! @ text @d1 1 a1 1 $NetBSD: patch-src_printtext.cpp,v 1.1 2022/09/18 12:21:18 nia Exp $ d5 1 a5 1 --- src/printtext.cpp.orig 2023-01-07 02:57:47.000000000 +0000 d23 1 a23 1 @@@@ -1364,8 +1373,13 @@@@ get_buffer(const char *orig) @ 1.1 log @swirc: Fix building on NetBSD 9 @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- src/printtext.cpp.orig 2022-07-28 13:19:25.000000000 +0000 d23 1 a23 1 @@@@ -1473,8 +1482,13 @@@@ get_buffer(const char *orig) @