commit: c6f63d6d4100e9bdc95f4e9c6804335e124ac6bd Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be> AuthorDate: Mon Dec 19 13:57:33 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Dec 20 10:53:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6f63d6d
media-gfx/blender: fix build with boost-1.81 Patch as suggested by the compiler: "intern/locale/boost_locale_wrapper.cpp:12:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?" Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be> Closes: https://bugs.gentoo.org/887059 Closes: https://github.com/gentoo/gentoo/pull/28713 Signed-off-by: Sam James <sam <AT> gentoo.org> media-gfx/blender/blender-3.3.0-r1.ebuild | 1 + .../files/blender-3.3.0-fix-build-with-boost-1.81.patch | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/media-gfx/blender/blender-3.3.0-r1.ebuild b/media-gfx/blender/blender-3.3.0-r1.ebuild index f6a12a88c2fc..6b3e2ff54d0a 100644 --- a/media-gfx/blender/blender-3.3.0-r1.ebuild +++ b/media-gfx/blender/blender-3.3.0-r1.ebuild @@ -130,6 +130,7 @@ PATCHES=( "${FILESDIR}"/${PN}-3.2.2-support-building-with-musl-libc.patch "${FILESDIR}"/${PN}-3.2.2-Cycles-add-option-to-specify-OptiX-runtime-root-dire.patch "${FILESDIR}"/${PN}-3.2.2-Fix-T100845-wrong-Cycles-OptiX-runtime-compilation-i.patch + "${FILESDIR}"/${PN}-3.3.0-fix-build-with-boost-1.81.patch ) blender_check_requirements() { diff --git a/media-gfx/blender/files/blender-3.3.0-fix-build-with-boost-1.81.patch b/media-gfx/blender/files/blender-3.3.0-fix-build-with-boost-1.81.patch new file mode 100644 index 000000000000..3a544811e484 --- /dev/null +++ b/media-gfx/blender/files/blender-3.3.0-fix-build-with-boost-1.81.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/887059 + +Adding include as suggested by the compiler: + +"intern/locale/boost_locale_wrapper.cpp:12:1: note: ‘std::cout’ is defined +in header ‘<iostream>’; did you forget to ‘#include <iostream>’?" + +--- a/intern/locale/boost_locale_wrapper.cpp ++++ b/intern/locale/boost_locale_wrapper.cpp +@@ -9,6 +9,7 @@ + #include <stdio.h> + + #include "boost_locale_wrapper.h" ++#include <iostream> + + static std::string messages_path; + static std::string default_domain;