diff --git a/srcpkgs/blender/patches/blender-2.82-musl.patch b/srcpkgs/blender/patches/musl.patch similarity index 87% rename from srcpkgs/blender/patches/blender-2.82-musl.patch rename to srcpkgs/blender/patches/musl.patch index 1fb4115874c..c095171df1b 100644 --- a/srcpkgs/blender/patches/blender-2.82-musl.patch +++ b/srcpkgs/blender/patches/musl.patch @@ -73,3 +73,18 @@ diff -ru blender-2.78.orig/source/creator/creator_signals.c blender-2.78a/source defined(__GLIBC__) # include # define HAVE_MALLOC_STATS +--- a/intern/libc_compat/libc_compat.c ++++ b/intern/libc_compat/libc_compat.c +@@ -21,10 +21,10 @@ + * incompatible with the system libraries that Blender is built on. To solve + * this we add a few -ffast-math symbols that can be missing. */ + +-#ifdef __linux__ + # include + # include + ++#ifdef __GLIBC__ + # if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 31) + + double __exp_finite(double x); + diff --git a/srcpkgs/blender/template b/srcpkgs/blender/template index 6b19078183e..663a38381b6 100644 --- a/srcpkgs/blender/template +++ b/srcpkgs/blender/template @@ -1,7 +1,7 @@ # Template file for 'blender' pkgname=blender -version=2.82 -revision=3 +version=2.83.0 +revision=1 build_style="cmake" makedepends=" libgomp-devel libpng-devel tiff-devel python3-devel glu-devel @@ -16,7 +16,7 @@ maintainer="Enno Boland " license="GPL-2.0-or-later" homepage="http://www.blender.org" distfiles="http://download.blender.org/source/${pkgname}-${version}.tar.xz" -checksum=002adf2c51fc58a8941c87fc8e180bb1aacb73a0c223714f36d3d84da345fc65 +checksum=14e2bc85e076b12ae94438ff3c1dd417eba642840ed32d7c979724a93aa93f1f patch_args="-Np1" python_version=3