summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lermytte <gentoo@lermytte.be>2022-12-19 14:57:33 +0100
committerSam James <sam@gentoo.org>2022-12-20 10:53:10 +0000
commitc6f63d6d4100e9bdc95f4e9c6804335e124ac6bd (patch)
treec0a2a5e97db23307d1fa42f28b3d392da6626ed1 /media-gfx/blender
parentapp-crypt/gnupg: add 2.4.0 (diff)
downloadgentoo-c6f63d6d4100e9bdc95f4e9c6804335e124ac6bd.tar.gz
gentoo-c6f63d6d4100e9bdc95f4e9c6804335e124ac6bd.tar.bz2
gentoo-c6f63d6d4100e9bdc95f4e9c6804335e124ac6bd.zip
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>
Diffstat (limited to 'media-gfx/blender')
-rw-r--r--media-gfx/blender/blender-3.3.0-r1.ebuild1
-rw-r--r--media-gfx/blender/files/blender-3.3.0-fix-build-with-boost-1.81.patch17
2 files changed, 18 insertions, 0 deletions
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;