Notification time stamped 2021-08-28 19:54:57 UTC
From d183f29dc4da1f62e9bf36baf05fd198e7f0bc22 Mon Sep 17 00:00:00 2001 From: Richard Shaw hobbes1069@gmail.com Date: Aug 24 2021 16:25:44 +0000 Subject: Multiple build problem fixes:
* Add python 3.10 patch fix. * Link with boost_python library. * Comment out RPM macro install as SOURCE3 doesn't exist. * Comment out blender.xml and blender.thumbnailer as they are not currently being installed.
---
diff --git a/blender-python310.patch b/blender-python310.patch new file mode 100644 index 0000000..7cd6662 --- /dev/null +++ b/blender-python310.patch @@ -0,0 +1,16 @@ +Index: blender-2.93.3/source/blender/python/mathutils/mathutils.c +=================================================================== +--- blender-2.93.3.orig/source/blender/python/mathutils/mathutils.c ++++ blender-2.93.3/source/blender/python/mathutils/mathutils.c +@@ -95,7 +95,11 @@ Py_hash_t mathutils_array_hash(const flo + x = 0x345678UL; + i = 0; + while (--len >= 0) { ++#if PY_VERSION_HEX >= 0x30a0000 /* Version: 3.10. */ ++ y = _Py_HashDouble(NULL, (double)(array[i++])); ++#else + y = _Py_HashDouble((double)(array[i++])); ++#endif + if (y == -1) { + return -1; + }
https://src.fedoraproject.org/rpms/blender/c/d183f29dc4da1f62e9bf36baf05fd19...
scm-commits@lists.fedoraproject.org