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

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

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

https://github.com/pullmoll/void-packages antimicrox
https://github.com/void-linux/void-packages/pull/26983

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


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

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

From a7db5f3efd53e5da399af6f1548ae71dd8f49f48 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 10:22:08 +0100
Subject: [PATCH] antimicrox: fix build w/ musl-1.2.1 (time64)

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

diff --git a/srcpkgs/antimicrox/patches/time64.patch b/srcpkgs/antimicrox/patches/time64.patch
new file mode 100644
index 00000000000..8d98f948e5e
--- /dev/null
+++ b/srcpkgs/antimicrox/patches/time64.patch
@@ -0,0 +1,27 @@
+--- src/eventhandlers/uinputeventhandler.cpp	2020-10-02 09:51:36.000000000 +0200
++++ src/eventhandlers/uinputeventhandler.cpp	2020-12-06 10:17:47.922175141 +0100
+@@ -498,9 +498,12 @@
+ {
+     struct input_event ev;
+     struct input_event ev2;
++    struct timeval tv;
+ 
+     memset(&ev, 0, sizeof(struct input_event));
+-    gettimeofday(&ev.time, nullptr);
++    gettimeofday(&tv, nullptr);
++    ev.input_event_sec = tv.tv_sec;
++    ev.input_event_usec = tv.tv_usec;
+     ev.type = type;
+     ev.code = code;
+     ev.value = value;
+@@ -510,7 +513,9 @@
+     if (syn)
+     {
+         memset(&ev2, 0, sizeof(struct input_event));
+-        gettimeofday(&ev2.time, nullptr);
++        gettimeofday(&tv, nullptr);
++        ev2.input_event_sec = tv.tv_sec;
++        ev2.input_event_usec = tv.tv_usec;
+         ev2.type = EV_SYN;
+         ev2.code = SYN_REPORT;
+         ev2.value = 0;

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

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

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

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

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

Description:


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06  9:23 [PR PATCH] antimicrox: fix build w/ musl-1.2.1 (time64) pullmoll
2020-12-06 10:39 ` [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).