=================================================================== RCS file: /cvs/mystuff-openscad/cad/openscad/patches/patch-src_openscad_cc,v retrieving revision 1.1.1.1 retrieving revision 1.3 diff -u -r1.1.1.1 -r1.3 --- mystuff-openscad/cad/openscad/patches/patch-src_openscad_cc 2025/09/18 18:32:51 1.1.1.1 +++ mystuff-openscad/cad/openscad/patches/patch-src_openscad_cc 2025/10/01 02:01:59 1.3 @@ -1,12 +1,20 @@ -Index: src/openscad.cc +IZZndex: src/openscad.cc --- src/openscad.cc.orig +++ src/openscad.cc -@@ -812,7 +812,7 @@ int main(int argc, char **argv) - PlatformUtils::ensureStdIO(); - #endif +@@ -60,6 +60,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -814,7 +815,7 @@ int main(int argc, char **argv) --#ifndef __EMSCRIPTEN__ -+#if 0 + #ifndef __EMSCRIPTEN__ const auto applicationPath = - weakly_canonical(boost::dll::program_location()).parent_path().generic_string(); +- weakly_canonical(boost::dll::program_location()).parent_path().generic_string(); ++ boost::filesystem::system_complete(argv[0]).parent_path().generic_string(); #else + const auto applicationPath = boost::dll::fs::current_path(); + #endif