Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] xboxdrv: fix build w/ musl-1.2.1 (time64)
@ 2020-12-06 17:09 pullmoll
  2020-12-06 17:13 ` [PR PATCH] [Merged]: " pullmoll
  0 siblings, 1 reply; 2+ messages in thread
From: pullmoll @ 2020-12-06 17:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

There is a new pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages xboxdrv
https://github.com/void-linux/void-packages/pull/26993

xboxdrv: fix build w/ musl-1.2.1 (time64)


A patch file from https://github.com/void-linux/void-packages/pull/26993.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xboxdrv-26993.patch --]
[-- Type: text/x-diff, Size: 1073 bytes --]

From 9fafe9e331e4dbcad3f7195e51a91bf81ae6b064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Sun, 6 Dec 2020 18:07:58 +0100
Subject: [PATCH] xboxdrv: fix build w/ musl-1.2.1 (time64)

---
 srcpkgs/xboxdrv/patches/time64.patch | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/xboxdrv/patches/time64.patch

diff --git a/srcpkgs/xboxdrv/patches/time64.patch b/srcpkgs/xboxdrv/patches/time64.patch
new file mode 100644
index 00000000000..80b7d1f13de
--- /dev/null
+++ b/srcpkgs/xboxdrv/patches/time64.patch
@@ -0,0 +1,16 @@
+--- src/linux_uinput.cpp	2015-11-09 11:19:35.000000000 +0100
++++ src/linux_uinput.cpp	2020-12-06 17:53:41.472516394 +0100
+@@ -289,9 +289,12 @@
+   needs_sync = true;
+ 
+   struct input_event ev;
++  struct timeval tv;
+   memset(&ev, 0, sizeof(ev));
+ 
+-  gettimeofday(&ev.time, NULL);
++  gettimeofday(&tv, NULL);
++  ev.input_event_sec = tv.tv_sec;
++  ev.input_event_usec = tv.tv_usec;
+   ev.type  = type;
+   ev.code  = code;
+   if (ev.type == EV_KEY)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: xboxdrv: fix build w/ musl-1.2.1 (time64)
  2020-12-06 17:09 [PR PATCH] xboxdrv: fix build w/ musl-1.2.1 (time64) pullmoll
@ 2020-12-06 17:13 ` pullmoll
  0 siblings, 0 replies; 2+ messages in thread
From: pullmoll @ 2020-12-06 17:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

There's a merged pull request on the void-packages repository

xboxdrv: fix build w/ musl-1.2.1 (time64)
https://github.com/void-linux/void-packages/pull/26993

Description:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-06 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 17:09 [PR PATCH] xboxdrv: fix build w/ musl-1.2.1 (time64) pullmoll
2020-12-06 17:13 ` [PR PATCH] [Merged]: " pullmoll

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).