summaryrefslogtreecommitdiff
path: root/riscv64-unbounded-delays.patch
diff options
context:
space:
mode:
Diffstat (limited to 'riscv64-unbounded-delays.patch')
-rwxr-xr-xriscv64-unbounded-delays.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/riscv64-unbounded-delays.patch b/riscv64-unbounded-delays.patch
new file mode 100755
index 0000000..5ca7fc8
--- /dev/null
+++ b/riscv64-unbounded-delays.patch
@@ -0,0 +1,25 @@
+From 65da3d6512ee2f8c53d2bbde840456749c5038c8 Mon Sep 17 00:00:00 2001
+From: Felix Yan <felixonmars@archlinux.org>
+Date: Thu, 22 Jun 2023 08:21:17 +0300
+Subject: [PATCH] Don't depend on unbounded-delays for riscv64
+
+64-bit RISC-V should fall into the same case in
+https://github.com/UnkindPartition/tasty/pull/344 and should be added
+here. Tested locally.
+---
+ core/tasty.cabal | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: tasty-1.4.3/tasty.cabal
+===================================================================
+--- tasty-1.4.3.orig/tasty.cabal
++++ tasty-1.4.3/tasty.cabal
+@@ -68,7 +68,7 @@ library
+ ansi-terminal >= 0.9
+
+ -- No reason to depend on unbounded-delays on 64-bit architecture
+- if(!arch(x86_64) && !arch(aarch64))
++ if(!arch(x86_64) && !arch(aarch64) && !arch(riscv64))
+ build-depends:
+ unbounded-delays >= 0.1
+