diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-05-21 19:31:28 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-05-21 19:31:28 +0200 |
commit | 766980c469c39f7f9604601a9d143a60ff860cc8 (patch) | |
tree | 0c0ed4752ea219389cd9c67898079ce95405573e /media-gfx | |
parent | media-sound/ardour: fixed compilation with boost 1.85 (diff) | |
download | gentoo-766980c469c39f7f9604601a9d143a60ff860cc8.tar.gz gentoo-766980c469c39f7f9604601a9d143a60ff860cc8.tar.bz2 gentoo-766980c469c39f7f9604601a9d143a60ff860cc8.zip |
media-gfx/openscad: fixed compilation with boost 1.85
Closes: https://bugs.gentoo.org/932293
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/openscad/files/openscad-2021.01-boost-1.85.patch | 12 | ||||
-rw-r--r-- | media-gfx/openscad/openscad-2021.01-r5.ebuild | 1 |
2 files changed, 13 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); diff --git a/media-gfx/openscad/openscad-2021.01-r5.ebuild b/media-gfx/openscad/openscad-2021.01-r5.ebuild index 39b12ee55322..cf272f31a4f7 100644 --- a/media-gfx/openscad/openscad-2021.01-r5.ebuild +++ b/media-gfx/openscad/openscad-2021.01-r5.ebuild @@ -67,6 +67,7 @@ PATCHES=( "${FILESDIR}"/${P}-CGAL-build-fix-v5.4-renames-projection-traits-header.patch "${FILESDIR}"/${P}-Fix-build-issue-with-overloaded-join.patch "${FILESDIR}"/${P}-Remove-double-quoting-of-the-output-file-parameter-f.patch + "${FILESDIR}"/${P}-boost-1.85.patch ) src_configure() { |