head 1.2; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2026.04.30.06.39.44; author adam; state Exp; branches; next 1.1; commitid EBfLiYmrAFQ3VWDG; 1.1 date 2025.12.21.09.38.43; author markd; state Exp; branches; next ; commitid ZfanUK26xXgf5gnG; desc @@ 1.2 log @qt6-qtwebengine: updated to 6.11.0 The 6.11 release for Qt Framework is now available, with improved performance, newly supported techniques and capabilities on graphics, connectivity and languages, not to mention a whole new approach to asynchronous C++ coding. Take a closer look. https://www.qt.io/blog/qt-6.11-released @ text @$NetBSD: patch-src_3rdparty_chromium_third__party_pdfium_fxjs_cjs__publicmethods.cpp,v 1.1 2025/12/21 09:38:43 markd Exp $ use std::isnan() --- src/3rdparty/chromium/third_party/pdfium/fxjs/cjs_publicmethods.cpp.orig 2026-03-16 11:40:07.000000000 +0000 +++ src/3rdparty/chromium/third_party/pdfium/fxjs/cjs_publicmethods.cpp @@@@ -459,7 +459,7 @@@@ double CJS_PublicMethods::ParseDateUsing if (status == fxjs::ConversionStatus::kBadDate) { dRet = JS_DateParse(isolate, value); - if (!isnan(dRet)) { + if (!std::isnan(dRet)) { return dRet; } } @@@@ -951,7 +951,7 @@@@ CJS_Result CJS_PublicMethods::AFDate_For nullptr); } - if (isnan(dDate)) { + if (std::isnan(dDate)) { WideString swMsg = WideString::Format( JSGetStringFromID(JSMessage::kParseDateError).c_str(), sFormat.c_str()); AlertIfPossible(pEvent, WideString::FromASCII("AFDate_FormatEx"), swMsg); @@@@ -994,7 +994,7 @@@@ double CJS_PublicMethods::ParseDateAsGMT int nYear = StringToFloat(wsArray[7].AsStringView()); double dRet = FX_MakeDate(FX_MakeDay(nYear, nMonth - 1, nDay), FX_MakeTime(nHour, nMin, nSec, 0)); - if (isnan(dRet)) { + if (std::isnan(dRet)) { dRet = JS_DateParse(isolate, strValue); } @@@@ -1028,7 +1028,7 @@@@ CJS_Result CJS_PublicMethods::AFDate_Key WideString sFormat = pRuntime->ToWideString(params[0]); double dRet = ParseDateUsingFormat(pRuntime->GetIsolate(), strValue, sFormat, &bWrongFormat); - if (bWrongFormat || isnan(dRet)) { + if (bWrongFormat || std::isnan(dRet)) { WideString swMsg = WideString::Format( JSGetStringFromID(JSMessage::kParseDateError).c_str(), sFormat.c_str()); AlertIfPossible(pEvent, WideString::FromASCII("AFDate_KeystrokeEx"), swMsg); @@@@ -1306,7 +1306,7 @@@@ CJS_Result CJS_PublicMethods::AFParseDat WideString sFormat = pRuntime->ToWideString(params[1]); double dDate = ParseDateUsingFormat(pRuntime->GetIsolate(), sValue, sFormat, nullptr); - if (isnan(dDate)) { + if (std::isnan(dDate)) { WideString swMsg = WideString::Format( JSGetStringFromID(JSMessage::kParseDateError).c_str(), sFormat.c_str()); AlertIfPossible(pRuntime->GetCurrentEventContext(), @@@@ -1326,7 +1326,7 @@@@ CJS_Result CJS_PublicMethods::AFSimple( WideString sFunction = pRuntime->ToWideString(params[0]); double arg1 = pRuntime->ToDouble(params[1]); double arg2 = pRuntime->ToDouble(params[2]); - if (isnan(arg1) || isnan(arg2)) { + if (std::isnan(arg1) || std::isnan(arg2)) { return CJS_Result::Failure(JSMessage::kValueError); } @ 1.1 log @qt6-qtwebengine: add version 6.10.1 Chromium-based web engine for Qt6 @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- src/3rdparty/chromium/third_party/pdfium/fxjs/cjs_publicmethods.cpp.orig 2025-05-29 01:27:28.000000000 +0000 d7 1 a7 1 @@@@ -443,7 +443,7 @@@@ double CJS_PublicMethods::ParseDateUsing d11 2 a12 2 - if (!isnan(dRet)) + if (!std::isnan(dRet)) d14 1 d16 1 a16 2 @@@@ -906,7 +906,7 @@@@ CJS_Result CJS_PublicMethods::AFDate_For d25 1 a25 1 @@@@ -948,7 +948,7 @@@@ double CJS_PublicMethods::ParseDateAsGMT d29 2 a30 2 - if (isnan(dRet)) + if (std::isnan(dRet)) d32 1 d34 1 a34 2 return dRet; @@@@ -978,7 +978,7 @@@@ CJS_Result CJS_PublicMethods::AFDate_Key d43 1 a43 1 @@@@ -1235,7 +1235,7 @@@@ CJS_Result CJS_PublicMethods::AFParseDat d52 1 a52 1 @@@@ -1254,7 +1254,7 @@@@ CJS_Result CJS_PublicMethods::AFSimple( d56 2 a57 2 - if (isnan(arg1) || isnan(arg2)) + if (std::isnan(arg1) || std::isnan(arg2)) d59 1 a60 1 std::optional result = ApplyNamedOperation(sFunction, arg1, arg2); @