Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / blender
Commits: 375d92a1 by Toolybird at 2026-03-02T18:08:56+11:00 Apply hiprt API version workaround Upstream Cycles expects an API version that is currently different from what our hiprt pkg provides. The following upstream commit acknowledges the problem for downstream distros and fixes it for a future release: https://projects.blender.org/blender/blender/commit/05a3b9854235c0f1d5a9e0518c7ac46f76b4c078 It appears the commit won't be in 5.1 (due mid-March 2026) but might make it in for 5.2 LTS (due mid-July 2026). If not, 5.3 is due November 2026). Note: the commit is currently not backportable due to upstream repo restructuring. Therefore we implement a simple substitution to modify HIPRT_API_VERSION to match our hiprt pkg. This allows the dynamic loading of libhiprt64.so to succeed. Fixes https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/44 - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -138,6 +138,12 @@ prepare() { git revert -n 49414a72f607ccd15f8b71b81edc9aff040d581e patch -Np1 -i "$srcdir"/blender-hip-update.patch + + # XXX Dirty hack / workaround to address: + # https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/44 + local _hiprt_api_ver + _hiprt_api_ver=$(awk '/HIPRT_API_VERSION/ {print $3}' /opt/rocm/include/hiprt/hiprtew.h) + sed -i "/HIPRT_API_VERSION/s/2005/$_hiprt_api_ver/" extern/hipew/include/hiprtew.h } _get_pyver() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/commit/375d92a150d8cf021e7428e2df4c60decc8cc399 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/commit/375d92a150d8cf021e7428e2df4c60decc8cc399 You're receiving this email because of your account on gitlab.archlinux.org.
