head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.26 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.24 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.22 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.20 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.18 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.16 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.14 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.12 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.10 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.8 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.6 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.4 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.2 pkgsrc-2023Q1-base:1.1; locks; strict; comment @// @; 1.1 date 2023.01.13.16.08.03; author wiz; state Exp; branches; next ; commitid n9itNGY5w4YCJo9E; desc @@ 1.1 log @databases/galera: import galera-26.4.13 This is Galera replication - Codership's implementation of the write set replication (wsrep) interface. @ text @$NetBSD$ NetBSD support. https://github.com/codership/galera/pull/632 --- galerautils/src/gu_asio_socket_util.hpp.orig 2022-11-02 06:09:14.000000000 +0000 +++ galerautils/src/gu_asio_socket_util.hpp @@@@ -148,7 +148,7 @@@@ static struct tcp_info get_tcp_info(Sock { struct tcp_info tcpi; memset(&tcpi, 0, sizeof(tcpi)); -#if defined(__linux__) || defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) #if defined(__linux__) static int const level(SOL_TCP); #else /* FreeBSD */ @@@@ -162,7 +162,7 @@@@ static struct tcp_info get_tcp_info(Sock gu_throw_error(err) << "Failed to read TCP info from socket: " << strerror(err); } -#endif /* __linux__ || __FreeBSD__ */ +#endif /* __linux__ || __FreeBSD__ || __NetBSD__ */ return tcpi; } @