From: pullmoll <pullmoll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] brltty: fix build w/ musl-1.2.1 (time64)
Date: Thu, 03 Dec 2020 14:16:17 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26917@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
There is a new pull request by pullmoll against master on the void-packages repository
https://github.com/pullmoll/void-packages brltty
https://github.com/void-linux/void-packages/pull/26917
brltty: fix build w/ musl-1.2.1 (time64)
A patch file from https://github.com/void-linux/void-packages/pull/26917.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-brltty-26917.patch --]
[-- Type: text/x-diff, Size: 1658 bytes --]
From 9aca4358ee4684ef55f0e8ad7319d74d90087e60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Thu, 3 Dec 2020 14:15:24 +0100
Subject: [PATCH] brltty: fix build w/ musl-1.2.1 (time64)
---
srcpkgs/brltty/patches/time64.patch | 16 ++++++++++++++++
srcpkgs/brltty/template | 2 +-
2 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/brltty/patches/time64.patch
diff --git a/srcpkgs/brltty/patches/time64.patch b/srcpkgs/brltty/patches/time64.patch
new file mode 100644
index 00000000000..7efc1c7e54a
--- /dev/null
+++ b/srcpkgs/brltty/patches/time64.patch
@@ -0,0 +1,16 @@
+--- Programs/system_linux.c 2020-04-05 12:35:34.000000000 +0200
++++ 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;
diff --git a/srcpkgs/brltty/template b/srcpkgs/brltty/template
index 53e15ed6ff0..76d56520dac 100644
--- a/srcpkgs/brltty/template
+++ b/srcpkgs/brltty/template
@@ -1,7 +1,7 @@
# Template file for 'brltty'
pkgname=brltty
version=6.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="--enable-gpm --with-screen-driver=lx,sc
--with-tables-directory=/usr/share/brltty PYTHON=/usr/bin/python3"
next reply other threads:[~2020-12-03 13:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-03 13:16 pullmoll [this message]
2020-12-03 20:55 ` ericonr
2020-12-03 20:56 ` ericonr
2020-12-03 21:02 ` pullmoll
2020-12-03 21:03 ` [PR PATCH] [Updated] " pullmoll
2020-12-03 21:36 ` ericonr
2020-12-03 21:36 ` [PR PATCH] [Merged]: " ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26917@inbox.vuxu.org \
--to=pullmoll@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).