diff options
Diffstat (limited to 'media-gfx/openscad/files')
-rw-r--r-- | media-gfx/openscad/files/openscad-2021.01-boost-1.85.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/openscad/files/openscad-2021.01-boost-1.85.patch b/media-gfx/openscad/files/openscad-2021.01-boost-1.85.patch new file mode 100644 index 000000000000..e3370f32fc38 --- /dev/null +++ b/media-gfx/openscad/files/openscad-2021.01-boost-1.85.patch @@ -0,0 +1,12 @@ +diff '--color=auto' -ur openscad-2021.01-orig/src/FileModule.cc openscad-2021.01/src/FileModule.cc +--- openscad-2021.01-orig/src/FileModule.cc 2021-01-31 21:17:41.000000000 +0100 ++++ openscad-2021.01/src/FileModule.cc 2024-05-20 07:50:31.746487490 +0200 +@@ -65,7 +65,7 @@ + auto ext = fs::path(path).extension().generic_string(); + + if (boost::iequals(ext, ".otf") || boost::iequals(ext, ".ttf")) { +- if (fs::is_regular(path)) { ++ if (fs::is_regular_file(path)) { + FontCache::instance()->register_font_file(path); + } else { + LOG(message_group::Error,Location::NONE,"","Can't read font with path '%1$s'",path); |