summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrahmajit das <listout@protonmail.com>2022-08-23 21:09:17 +0530
committerSam James <sam@gentoo.org>2022-09-01 03:01:54 +0100
commit07f1954e0dd0fb941be3396f15257793f791b23a (patch)
tree59352b6336f6fd89e8fcae743b5877379605fce9 /media-gfx/blender/blender-3.2.2.ebuild
parentsys-fs/f2fs-tools: fix build w/ app-arch/lz4-1.9.4 (diff)
downloadgentoo-07f1954e0dd0fb941be3396f15257793f791b23a.tar.gz
gentoo-07f1954e0dd0fb941be3396f15257793f791b23a.tar.bz2
gentoo-07f1954e0dd0fb941be3396f15257793f791b23a.zip
media-gfx/blender: Upstream musl libc fixes backport
These are some of the patch that I submitted upstream and have been accepted. They will be a part of next blender release. However, this PR is a backport of those fixes for blender 3.2.2. Please refer: https://github.com/blender/blender/commit/f197b1a1f1bbc0334310fb1c911327246767a1a3, and https://github.com/blender/blender/commit/7be7280c5710f7831789cdde140d010722be9068 Closes: https://bugs.gentoo.org/739474 Signed-off-by: brahmajit das <listout@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/26860 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/blender/blender-3.2.2.ebuild')
-rw-r--r--media-gfx/blender/blender-3.2.2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-gfx/blender/blender-3.2.2.ebuild b/media-gfx/blender/blender-3.2.2.ebuild
index 8c82138b1e5a..70024e231bf6 100644
--- a/media-gfx/blender/blender-3.2.2.ebuild
+++ b/media-gfx/blender/blender-3.2.2.ebuild
@@ -123,6 +123,11 @@ BDEPEND="
nls? ( sys-devel/gettext )
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.2.2-support-building-with-musl-libc.patch
+ "${FILESDIR}"/${PN}-3.2.2-musl-glibc-prereq.patch
+)
+
blender_check_requirements() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp