mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
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:
@@ -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;
|
||||
Reference in New Issue
Block a user