[BACK]Return to patch-src_openscad_cc CVS log [TXT][DIR] Up to [local] / mystuff-openscad / cad / openscad / patches

Annotation of mystuff-openscad/cad/openscad/patches/patch-src_openscad_cc, Revision 1.3

1.2       afresh1     1: IZZndex: src/openscad.cc
1.1       afresh1     2: --- src/openscad.cc.orig
                      3: +++ src/openscad.cc
1.2       afresh1     4: @@ -60,6 +60,7 @@
                      5:  #include <boost/algorithm/string/predicate.hpp>
                      6:  #include <boost/algorithm/string/split.hpp>
                      7:  #include <boost/dll/runtime_symbol_info.hpp>
                      8: +#include <boost/filesystem/operations.hpp>
                      9:  #include <boost/lexical_cast.hpp>
                     10:  #include <boost/lexical_cast/bad_lexical_cast.hpp>
                     11:  #include <boost/optional/optional.hpp>
                     12: @@ -814,7 +815,7 @@ int main(int argc, char **argv)
1.1       afresh1    13:
1.2       afresh1    14:  #ifndef __EMSCRIPTEN__
1.1       afresh1    15:    const auto applicationPath =
1.2       afresh1    16: -    weakly_canonical(boost::dll::program_location()).parent_path().generic_string();
1.3     ! afresh1    17: +    boost::filesystem::system_complete(argv[0]).parent_path().generic_string();
1.1       afresh1    18:  #else
1.2       afresh1    19:    const auto applicationPath = boost::dll::fs::current_path();
                     20:  #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>