From 0d67ebc0769f263db172e3b6185b916e6aafc821 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Mar 09 2023 13:11:42 +0000 Subject: Fix building with boost >= 1.81 (fix RHBZ#2172445) --- diff --git a/79837c5ed4b57925bf6c6bb9e7c2248f6f52bbb0.patch b/79837c5ed4b57925bf6c6bb9e7c2248f6f52bbb0.patch new file mode 100644 index 0000000..dd9db3e --- /dev/null +++ b/79837c5ed4b57925bf6c6bb9e7c2248f6f52bbb0.patch @@ -0,0 +1,22 @@ +From 79837c5ed4b57925bf6c6bb9e7c2248f6f52bbb0 Mon Sep 17 00:00:00 2001 +From: Sebastian Parborg +Date: Wed, 4 Jan 2023 15:23:26 +0100 +Subject: [PATCH] Fix building with boost >= 1.81 + +In boost 1.81 they no longer implicitly include anymore. +--- + intern/locale/boost_locale_wrapper.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/intern/locale/boost_locale_wrapper.cpp b/intern/locale/boost_locale_wrapper.cpp +index fb0e194352a..80e8d89799a 100644 +--- a/intern/locale/boost_locale_wrapper.cpp ++++ b/intern/locale/boost_locale_wrapper.cpp +@@ -6,6 +6,7 @@ + */ + + #include ++#include + #include + + #include "boost_locale_wrapper.h" diff --git a/blender.spec b/blender.spec index 7ec1f61..5918024 100644 --- a/blender.spec +++ b/blender.spec @@ -52,6 +52,10 @@ Patch: %{name}-usd-pythonlibs-fix.diff # https://developer.blender.org/D17151 Patch: %{name}-include-system-error-library.diff +# Fix building with boost >= 1.81 +# https://projects.blender.org/blender/blender/commit/79837c5ed4b57925bf6c6bb9e7c2248f6f52bbb0 +Patch: https://projects.blender.org/blender/blender/commit/79837c5ed4b57925bf6c6bb9e7c2248f6f52bbb0.patch + # Development stuff BuildRequires: boost-devel BuildRequires: ccache