diff options
author | Erich Eckner <git@eckner.net> | 2024-05-04 12:01:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-05-04 12:01:42 +0200 |
commit | 9e67bfb0da97f1937e2b9d04fba3d9ac37373801 (patch) | |
tree | 35227d4edfc5c9e4483b0d9b6a5b3b61551890d4 /manualPorts/openscad/fs.patch | |
parent | 9de3be7ee45393e230e2fa4069d6cf81a4d05dc3 (diff) | |
download | crux-ports-9e67bfb0da97f1937e2b9d04fba3d9ac37373801.tar.xz |
openscad: rebuild
Diffstat (limited to 'manualPorts/openscad/fs.patch')
-rw-r--r-- | manualPorts/openscad/fs.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manualPorts/openscad/fs.patch b/manualPorts/openscad/fs.patch new file mode 100644 index 0000000..6e02b5e --- /dev/null +++ b/manualPorts/openscad/fs.patch @@ -0,0 +1,11 @@ +--- a/src/FileModule.cc 2021-01-31 21:17:41.000000000 +0100 ++++ b/src/FileModule.cc 2024-05-04 11:44:32.132784497 +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); |