diff options
author | Christoph Willing <chris.willing@linux.com> | 2023-07-22 11:17:20 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-22 15:52:44 +0700 |
commit | 1dfd1e2f8bc9788ded92fc58ae56b1b8e0c1561e (patch) | |
tree | 4953854898029dede5d13f4cf4686aba46b98095 /graphics/Blender/Blender.SlackBuild | |
parent | 2a64a11909eb06fa8c34e0fb1873417a8915cc65 (diff) |
graphics/Blender: Accommodate updated compiler
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/Blender/Blender.SlackBuild')
-rw-r--r-- | graphics/Blender/Blender.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/Blender/Blender.SlackBuild b/graphics/Blender/Blender.SlackBuild index 2964a83e6cf44..87210b2837477 100644 --- a/graphics/Blender/Blender.SlackBuild +++ b/graphics/Blender/Blender.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=Blender VERSION=${VERSION:-3.3.5} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -103,6 +103,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ sed -i -e '/#include <stdio.h>/a #include <iostream>' intern/locale/boost_locale_wrapper.cpp +sed -i -e '/#include "util\/windows.h"/a #include <system_error>' intern/cycles/util/thread.cpp +sed -i -e '/#include <fstream>/a #include <cstdint>' extern/quadriflow/src/loader.cpp # 20220322 bkw: 32-bit needs this [ -z "$LIBDIRSUFFIX" ] && patch -p1 < $CWD/overloaded_min.diff @@ -127,6 +129,7 @@ cd build -DPYTHON_LIBPATH:PATH=/usr/lib${LIBDIRSUFFIX} \ -DWITH_CODEC_SNDFILE:BOOL=ON \ -DWITH_FFTW3:BOOL=ON \ + -DWITH_TBB:BOOL=OFF \ -DWITH_IMAGE_OPENJPEG:BOOL=ON \ -DWITH_SYSTEM_EIGEN3:BOOL=OFF \ -DWITH_SYSTEM_GLEW:BOOL=OFF \ |