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@lermytte.be>
Closes: https://bugs.gentoo.org/887059
Closes: https://github.com/gentoo/gentoo/pull/28713
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Christophe Lermytte
2022-12-20 10:53:10 +00:00
committed by Sam James
parent 7c72b2c1b9
commit c6f63d6d41
2 changed files with 18 additions and 0 deletions
@@ -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() {
@@ -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;