Skip to content

Commit

Permalink
updpatch: yate 6.4.1-1
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <i@rain.cx>
  • Loading branch information
qyl27 authored and felixonmars committed Sep 24, 2024
1 parent b8a23b4 commit 8ce8ff5
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions yate/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
diff --git PKGBUILD PKGBUILD
index 9ba721593..e1cff6b2b 100644
--- PKGBUILD
+++ PKGBUILD
@@ -86,9 +86,16 @@ backup=('etc/yate/accfile.conf'
depends=('speex' 'gsm' 'postgresql-libs' 'mariadb-libs' 'alsa-lib' 'openssl' 'sqlite')
options=(!makeflags)
source=("http://yate.null.ro/tarballs/yate6/yate-${pkgver}-1.tar.gz"
- "yate.service")
+ "yate.service"
+ "add-riscv-support.patch")
sha256sums=('8c23dc6bffbf8d478db3a85964b5019771c8f6c9acf5220f3465516a748a03b0'
- '73eab39a0ba884a4c36ca7c8f1faea4000301a0e795544b74cba78d90de5e302')
+ '73eab39a0ba884a4c36ca7c8f1faea4000301a0e795544b74cba78d90de5e302'
+ '697b7fdf9aa2e10eaefc02a95eec033f5e537cf47af9749cd3725511c1d01014')
@@ -108,3 +108,12 @@ package(){
make DESTDIR="$pkgdir" install
install -Dm0644 "$srcdir"/yate.service "$pkgdir"/usr/lib/systemd/system/yate.service
}
+
+prepare(){
+source+=("add-riscv-support.patch")
+sha256sums+=('697b7fdf9aa2e10eaefc02a95eec033f5e537cf47af9749cd3725511c1d01014')
+
+prepare() {
+ cd "$srcdir/${pkgname}"
+ patch -Np1 -i ../add-riscv-support.patch
+}

build() {
cd "$srcdir/${pkgname}"
+

0 comments on commit 8ce8ff5

Please sign in to comment.