From c6f63d6d4100e9bdc95f4e9c6804335e124ac6bd Mon Sep 17 00:00:00 2001 From: Christophe Lermytte Date: Mon, 19 Dec 2022 14:57:33 +0100 Subject: media-gfx/blender: fix build with boost-1.81 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch as suggested by the compiler: "intern/locale/boost_locale_wrapper.cpp:12:1: note: ‘std::cout’ is defined in header ‘’; did you forget to ‘#include ’?" Signed-off-by: Christophe Lermytte Closes: https://bugs.gentoo.org/887059 Closes: https://github.com/gentoo/gentoo/pull/28713 Signed-off-by: Sam James --- 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(+) create mode 100644 media-gfx/blender/files/blender-3.3.0-fix-build-with-boost-1.81.patch 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 ‘’; did you forget to ‘#include ’?" + +--- a/intern/locale/boost_locale_wrapper.cpp ++++ b/intern/locale/boost_locale_wrapper.cpp +@@ -9,6 +9,7 @@ + #include + + #include "boost_locale_wrapper.h" ++#include + + static std::string messages_path; + static std::string default_domain; -- cgit v1.2.3-65-gdbad