head 1.2; access; symbols pkgsrc-2025Q3:1.1.0.2 pkgsrc-2025Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2025.11.13.22.28.18; author wiz; state dead; branches; next 1.1; commitid WYTgck9uFlfpzriG; 1.1 date 2025.07.27.08.34.05; author wiz; state Exp; branches; next ; commitid AJgTUvhIdnYssm4G; desc @@ 1.2 log @Guitar: update to 1.3.1. Improved performance through enhanced parallel processing. @ text @$NetBSD: patch-src_webclient.cpp,v 1.1 2025/07/27 08:34:05 wiz Exp $ NetBSD does not provide gethostbyname_r. https://github.com/soramimi/Guitar/pull/165 --- src/webclient.cpp.orig 2025-07-21 19:55:26.509062241 +0000 +++ src/webclient.cpp @@@@ -102,7 +102,7 @@@@ bool HostNameResolver::resolve(const cha if (!name || !out) return false; struct hostent *he = nullptr; -#if defined(_WIN32) || defined(__APPLE__) +#if defined(_WIN32) || defined(__APPLE__) || defined(__NetBSD__) he = ::gethostbyname(name); #else int err = 0; @ 1.1 log @devel/Guitar: import Guitar-1.3.0 Git GUI Client * Open Source, Free Software (GPL v2) * Of course, commercial purposes is also free. * Run on Windows, macOS and Linux * Written in C++ * Powered by Qt 6 @ text @d1 1 a1 1 $NetBSD$ @