diff options
author | Adrian Grigo <agrigo2001@yahoo.com.au> | 2020-11-27 13:09:03 +1100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-12-03 09:32:12 +0200 |
commit | bfaf3fdaf0656a4c63704bd09eea20ba1547faf9 (patch) | |
tree | 5ada29b7debb0f88c16f6b4c7ccd4a52fa99a36a /media-gfx/blender/files | |
parent | net-dns/ldns-utils: Stabilize 1.7.1 arm, #757153 (diff) | |
download | gentoo-bfaf3fdaf0656a4c63704bd09eea20ba1547faf9.tar.gz gentoo-bfaf3fdaf0656a4c63704bd09eea20ba1547faf9.tar.bz2 gentoo-bfaf3fdaf0656a4c63704bd09eea20ba1547faf9.zip |
media-gfx/blender: Version bump to 2.91.0
Version bump to blender 2.91.0
This version adds four new dependencies (gmp, pugixml, potrace and
fontconfig)
A patch is added for a compilation error that occurs when DEBUG is not
set. GPUVertBufferRaw._data_end is only declared when DEBUG is set, but
an assert that the data pointer is less than _data_end occurs
regardless, resulting in a failure to compile as the symbol does not
exist.
The fix is to make the assert conditional on DEBUG, and the compilation
succeeds.
The subslot binder is used for media-libs/osl to force recompilation
when it changes. This ensures that the oso compiled files are the
correct version, and that preserved libraries are not left behind.
Signed-off-by: Adrian Grigo <agrigo2001@yahoo.com.au>
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/blender/files')
-rw-r--r-- | media-gfx/blender/files/blender-2.91.0-define-data-end.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media-gfx/blender/files/blender-2.91.0-define-data-end.patch b/media-gfx/blender/files/blender-2.91.0-define-data-end.patch new file mode 100644 index 000000000000..99705adae25c --- /dev/null +++ b/media-gfx/blender/files/blender-2.91.0-define-data-end.patch @@ -0,0 +1,14 @@ +diff -Naur a/source/blender/gpu/GPU_vertex_buffer.h b/source/blender/gpu/GPU_vertex_buffer.h +--- a/source/blender/gpu/GPU_vertex_buffer.h 2020-11-26 16:36:36.226883721 +1100 ++++ b/source/blender/gpu/GPU_vertex_buffer.h 2020-11-26 16:38:08.691212985 +1100 +@@ -118,7 +118,10 @@ + { + unsigned char *data = a->data; + a->data += a->stride; ++#ifdef DEBUG ++ /* Assert only compiles if _data_end exists */ + BLI_assert(data < a->_data_end); ++#endif + return (void *)data; + } + |