]> git.pld-linux.org Git - packages/blender.git/commitdiff
fix build with gcc >= 13
authorJan Palus <atler@pld-linux.org>
Tue, 4 Jul 2023 10:45:25 +0000 (12:45 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 4 Jul 2023 10:45:25 +0000 (12:45 +0200)
blender.spec
gcc13.patch [new file with mode: 0644]

index b73720a8c91e604b5dc6aac0adbd281e4f29ebec..3cda979fe0d8cfac19025a756010f3798a8c9819 100644 (file)
@@ -13,6 +13,7 @@ Source0:      https://download.blender.org/source/%{name}-%{version}.tar.xz
 Patch0:                %{name}-2.76-droid.patch
 Patch1:                format-security.patch
 Patch2:                boost1.81.patch
+Patch3:                gcc13.patch
 URL:           https://www.blender.org/
 BuildRequires: OpenAL-devel
 BuildRequires: OpenColorIO-devel
@@ -78,6 +79,7 @@ Blender to darmowy i w pełni funkcjonalny pakiet do tworzenia animacji
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python3}\1,' -e '1s,#!\s*/usr/bin/env\s+python3(\s|$),#!%{__python3}\1,' \
       release/scripts/addons/io_curve_svg/svg_util_test.py \
diff --git a/gcc13.patch b/gcc13.patch
new file mode 100644 (file)
index 0000000..cecf2ab
--- /dev/null
@@ -0,0 +1,10 @@
+--- blender-3.1.0/extern/quadriflow/src/loader.cpp.orig        2022-01-28 14:02:15.000000000 +0100
++++ blender-3.1.0/extern/quadriflow/src/loader.cpp     2023-07-04 12:21:36.066850148 +0200
+@@ -8,6 +8,7 @@
+ #include "loader.hpp"
++#include <cstdint>
+ #include <fstream>
+ #include <unordered_map>
This page took 0.039859 seconds and 4 git commands to generate.