From 6fea3a5a75698fc4268cab5b5ef8754b6af60cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E9=9B=A8=E8=90=BD?= Date: Sat, 5 Oct 2024 15:12:02 +0800 Subject: [PATCH] addpatch: lorem 1.4-2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 秋雨落 --- lorem/longer-timeout.patch | 11 +++++++++++ lorem/riscv64.patch | 23 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 lorem/longer-timeout.patch create mode 100644 lorem/riscv64.patch diff --git a/lorem/longer-timeout.patch b/lorem/longer-timeout.patch new file mode 100644 index 000000000..b7216dc22 --- /dev/null +++ b/lorem/longer-timeout.patch @@ -0,0 +1,11 @@ +diff --git src/meson.build src/meson.build +index 92a21b4..dcd5e5c 100644 +--- src/meson.build ++++ src/meson.build +@@ -64,5 +64,5 @@ test ( + env: [ + cargo_env, + ], +- timeout: 300, # cargo might take a bit of time sometimes ++ timeout: 600, # cargo might take a bit of time sometimes + ) diff --git a/lorem/riscv64.patch b/lorem/riscv64.patch new file mode 100644 index 000000000..23810d9d2 --- /dev/null +++ b/lorem/riscv64.patch @@ -0,0 +1,23 @@ +--- PKGBUILD ++++ PKGBUILD +@@ -22,14 +22,18 @@ makedepends=( + meson + rust + ) +-source=("git+https://gitlab.gnome.org/World/design/lorem.git#tag=$pkgver") +-b2sums=(967ed9ffc098f3ce55a5549ce2beccde4e95a1fa69917f087c83ecf45fa2f8018983e2c892dc6d28d64fce5507d5c4d7db33f6950006f434cdc09b0de021f570) ++source=("git+https://gitlab.gnome.org/World/design/lorem.git#tag=$pkgver" ++ "longer-timeout.patch") ++b2sums=(967ed9ffc098f3ce55a5549ce2beccde4e95a1fa69917f087c83ecf45fa2f8018983e2c892dc6d28d64fce5507d5c4d7db33f6950006f434cdc09b0de021f570 ++ e9628245c57e1e344eb7a19a75a52edede7c33cc073a0749b770a8b875d32360c260f6642c1bbad013e8d36ebf959f7147024c2d2580b2022341dbcfcc3090c1) + + prepare() { + cd $pkgname + + CARGO_HOME="$srcdir/build/cargo-home" \ + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" ++ ++ patch -Np0 -i ../longer-timeout.patch + } + + build() {