From c35920ef1442a85471d5040f49b6e52580f9d6bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E9=9B=A8=E8=90=BD?= Date: Tue, 24 Sep 2024 16:15:41 +0800 Subject: [PATCH] updpatch: yate 6.4.1-1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 秋雨落 --- yate/riscv64.patch | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/yate/riscv64.patch b/yate/riscv64.patch index 6aecf9f17..a6445dc5c 100644 --- a/yate/riscv64.patch +++ b/yate/riscv64.patch @@ -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}" ++