From eb60e1bcdebe4afa00d97867d0068a59dcb8009d Mon Sep 17 00:00:00 2001 From: Estela ad Astra Date: Fri, 15 Nov 2024 20:42:58 +0100 Subject: [PATCH 1/2] mesa: fix for riscv --- srcpkgs/mesa/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template index 0ff83ace1550a2..0d518d0a3ca493 100644 --- a/srcpkgs/mesa/template +++ b/srcpkgs/mesa/template @@ -33,7 +33,7 @@ build_options_default="wayland" # especially on big endian it's all kinds of broken, and e.g. on # 32-bit powerpc it does not work at all, so fall back to softpipe case "$XBPS_TARGET_MACHINE" in - i686*|x86_64*|aarch64*|ppc64le*|arm*) ;; + i686*|x86_64*|aarch64*|ppc64le*|arm*|riscv64*) ;; *) configure_args+=" -Ddraw-use-llvm=false" ;; esac From f05c6468881ad9a73f906ec59f81555097e79330 Mon Sep 17 00:00:00 2001 From: Estela ad Astra Date: Sun, 17 Nov 2024 13:19:00 +0100 Subject: [PATCH 2/2] xorg-video-drivers: add riscv --- srcpkgs/xorg-video-drivers/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/xorg-video-drivers/template b/srcpkgs/xorg-video-drivers/template index d95c6d4f05f457..63ffd162624d57 100644 --- a/srcpkgs/xorg-video-drivers/template +++ b/srcpkgs/xorg-video-drivers/template @@ -14,6 +14,6 @@ case "$XBPS_TARGET_MACHINE" in esac case "$XBPS_TARGET_MACHINE" in - armv[56]*|aarch64*|mips*) ;; + armv[56]*|aarch64*|mips*|riscv*) ;; *) depends+=" xf86-video-ati xf86-video-amdgpu xf86-video-nouveau" ;; esac