Skip to content

Commit 2ebdb5d

Browse files
committed
addpatch: criterion, ver=2.4.2-3
* Apply Snaipe/BoxFort#51 in BoxFort to support loong64 Signed-off-by: Zhou Qiankang <[email protected]>
1 parent 52540cd commit 2ebdb5d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

criterion/loong.patch

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
diff --git a/PKGBUILD b/PKGBUILD
2+
index d635162..bb8d82f 100644
3+
--- a/PKGBUILD
4+
+++ b/PKGBUILD
5+
@@ -36,6 +36,8 @@ prepare() {
6+
# Download of nanopb produces an error as it does not contain a meson.build
7+
# file. A meson.build file is not necessary, so ignore the error.
8+
meson subprojects download || :
9+
+
10+
+ patch -d subprojects/boxfort -p1 -i "${srcdir}/boxfort-support-loongarch64.patch"
11+
}
12+
13+
build() {
14+
@@ -54,3 +56,6 @@ package() {
15+
meson install -C build --destdir "$pkgdir"
16+
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
17+
}
18+
+
19+
+source+=("boxfort-support-loongarch64.patch::https://github.com/Snaipe/BoxFort/commit/4f5d7340a7fdf602be10f2fc40a169627d98ddc9.patch")
20+
+sha256sums+=('d2d59ce310611bc4cad90b6e595034e7879e7f72c6d69f3996280214cb93a73c')

0 commit comments

Comments
 (0)