testing/brltty: fix build with newer kernel APIs

This commit is contained in:
Leo 2020-08-14 00:13:49 -03:00
parent 80ea1f1772
commit 71c449bf70

View File

@ -16,10 +16,13 @@ makedepends="
tcl
"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="http://brltty.app/archive/brltty-$pkgver.tar.xz"
source="http://brltty.app/archive/brltty-$pkgver.tar.xz
https://patch-diff.githubusercontent.com/raw/brltty/brltty/pull/269.patch
"
options="!check" # no upstream test suite
prepare() {
default_prepare
cp /usr/share/abuild/config.guess acdir/
cp /usr/share/abuild/config.sub acdir/
./autogen
@ -44,4 +47,5 @@ package() {
"$pkgdir"/etc/$pkgname.conf
}
sha512sums="030ef60ef7a9a60dc2fba2a64ea0a0868395eee6f2f86876b4e4111e804a05b44f798a154a69a8f5e0f6358130993c360a550f7decac0535450f9cf939231eaf brltty-6.1.tar.xz"
sha512sums="030ef60ef7a9a60dc2fba2a64ea0a0868395eee6f2f86876b4e4111e804a05b44f798a154a69a8f5e0f6358130993c360a550f7decac0535450f9cf939231eaf brltty-6.1.tar.xz
2d55d8d985194f70d6e3229d93cffe5556a96316c94e03dcb35ddfe34e204408d825626916e649e42dac92b728537b59426726076998c6efcbabe68dcac2849d 269.patch"