commit:     9ae8374dfd2f7001239b2922e181631cafea0b5e
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Dec 28 14:47:05 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 28 15:49:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ae8374d

sci-ml/torchvision: fix /dev/random sandbox access violation

Closes: https://bugs.gentoo.org/968112
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45189
Closes: https://github.com/gentoo/gentoo/pull/45189
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/torchvision/torchvision-0.24.0-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-ml/torchvision/torchvision-0.24.0-r1.ebuild 
b/sci-ml/torchvision/torchvision-0.24.0-r1.ebuild
index cee8d4bfed4c..fb1fe88d2a52 100644
--- a/sci-ml/torchvision/torchvision-0.24.0-r1.ebuild
+++ b/sci-ml/torchvision/torchvision-0.24.0-r1.ebuild
@@ -68,6 +68,8 @@ src_configure() {
 
 python_compile() {
        addpredict /dev/kfd
+       # bug #968112
+       addpredict /dev/random
 
        export FORCE_CUDA=0
        if use cuda || use rocm ; then

Reply via email to