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.02.12.14.42.25; author tnn; state Exp; branches; next ; commitid 7m6AtdU6jrzsifdE; desc @@ 1.1 log @cad/occt: import Open CASCADE Technology Development platform providing services for 3D surface and solid modeling, CAD data exchange, and visualization. Most of OCCT functionality is available in the form of C++ libraries. OCCT can be best applied in development of software dealing with 3D modeling (CAD), manufacturing / measuring (CAM) or numerical simulation (CAE). @ text @$NetBSD$ Just use SIZE_MAX instead of C++20 std::numeric_limits to help with older compilers. --- src/ViewerTest/ViewerTest_CmdParser.cxx.orig 2022-11-11 22:19:44.000000000 +0000 +++ src/ViewerTest/ViewerTest_CmdParser.cxx @@@@ -50,7 +50,11 @@@@ namespace } // namespace +#ifdef SIZE_MAX +const std::size_t ViewerTest_CmdParser::THE_UNNAMED_COMMAND_OPTION_KEY = SIZE_MAX; +#else const std::size_t ViewerTest_CmdParser::THE_UNNAMED_COMMAND_OPTION_KEY = (std::numeric_limits::max)(); +#endif const std::size_t ViewerTest_CmdParser::THE_HELP_COMMAND_OPTION_KEY = 0; @