Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/blender/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-04-03 16:08:40 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-04-03 16:08:40 +0200
commitd5ac972a23a3307ed3d1884ffa091e9ca209f4a6 (patch)
tree1163922ed7ed27f52468578348244edfa5762943 /community/blender/PKGBUILD
parent6d836fa886b8e0fc0db4aa0f0d847a24328e4b58 (diff)
community/blender: started some patching, still blocked (see FS32#246)
Diffstat (limited to 'community/blender/PKGBUILD')
-rw-r--r--community/blender/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/blender/PKGBUILD b/community/blender/PKGBUILD
index 47de888e..dad59e6e 100644
--- a/community/blender/PKGBUILD
+++ b/community/blender/PKGBUILD
@@ -41,3 +41,16 @@ depends=(
depends=(
${depends[@]/openvdb/}
)
+
+# float_t is a long double on 32-bit, but it's a primitive in all cases anyway
+# (seems to be in a part of the blendkernel on i686 only..)
+source_pentium4+=('blender-idprop_create-static-assert-float.patch')
+sha512sums_pentium4+=('36b98ec7e53402909a9e531c30b444b1afc22cc597c5bb3393c73862929dcc6275b00a53de6171a81af3c8804d233359d2e797886d0b776e7a9b29b23ce24e3b')
+if [ "${CARCH}" = 'pentium4' ]; then
+ eval "$(
+ declare -f prepare \
+ | sed '
+ $ i patch -Np1 -i "$srcdir"/blender-idprop_create-static-assert-float.patch
+ '
+ )"
+fi