head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.08.30.14.25.05; author wiz; state Exp; branches; next ; commitid JBc39jPIQAWHzFTG; desc @@ 1.1 log @www/webkit-gtk41: import webkit-gtk41-2.52.6 WebKit is an open source web browser engine. WebKit is also the name of the Mac OS X system framework version of the engine that's used by Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML and JavaScript code began as a branch of the KHTML and KJS libraries from KDE. This is the GTK3 port of the engine, API version 4.1. @ text @$NetBSD$ --- Source/WebCore/page/NavigatorBase.cpp.orig 2026-02-23 14:40:55.413300800 +0000 +++ Source/WebCore/page/NavigatorBase.cpp @@@@ -46,7 +46,7 @@@@ #include #include -#if OS(LINUX) +#if OS(LINUX) || OS(NETBSD) #include "sys/utsname.h" #include #endif @@@@ -96,7 +96,7 @@@@ String NavigatorBase::platform() const String NavigatorBase::platform() const { -#if OS(LINUX) +#if OS(LINUX) || OS(NETBSD) static NeverDestroyed platformName = [] { struct utsname osname; return uname(&osname) >= 0 ? makeString(unsafeSpan(osname.sysname), " "_s, unsafeSpan(osname.machine)) : emptyString(); @