brltty: rebuild for Python 3.10, update to 6.4.

This commit is contained in:
Andrew J. Hesford 2021-09-24 23:15:43 -04:00
parent 82b4b3af51
commit 66b10b2013
2 changed files with 3 additions and 20 deletions

View file

@ -1,16 +0,0 @@
--- a/Programs/system_linux.c 2020-04-05 12:35:34.000000000 +0200
+++ b/Programs/system_linux.c 2020-12-03 14:12:42.292642038 +0100
@@ -957,9 +957,12 @@
writeInputEvent (UinputObject *uinput, uint16_t type, uint16_t code, int32_t value) {
#ifdef HAVE_LINUX_UINPUT_H
struct input_event event;
+ struct timeval tv;
memset(&event, 0, sizeof(event));
- gettimeofday(&event.time, NULL);
+ gettimeofday(&tv, NULL);
+ event.input_event_sec = tv.tv_sec;
+ event.input_event_usec = tv.tv_usec;
event.type = type;
event.code = code;
event.value = value;

View file

@ -1,7 +1,7 @@
# Template file for 'brltty'
pkgname=brltty
version=6.1
revision=2
version=6.4
revision=1
build_style=gnu-configure
configure_args="--enable-gpm --with-screen-driver=lx,sc
--with-tables-directory=/usr/share/brltty PYTHON=/usr/bin/python3"
@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://mielke.cc/brltty/"
distfiles="http://mielke.cc/brltty/archive/brltty-${version}.tar.xz"
checksum=4a28e3f1879aee9082f9ce4100fd4053be47add7f8ab0f2af6d6a20590934b62
checksum=bc7573b0d0ab865c36607945b64c209312405571788f3b409397726f6143eaa6
python_version=3
case "$XBPS_TARGET_MACHINE" in
@ -65,7 +65,6 @@ brltty-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/bin/brltty-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"