Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] xf86-input-synaptics: fix build w/ musl-1.2.1
@ 2020-12-01 20:42 pullmoll
  2020-12-02 22:22 ` pullmoll
  2020-12-02 22:22 ` [PR PATCH] [Closed]: " pullmoll
  0 siblings, 2 replies; 4+ messages in thread
From: pullmoll @ 2020-12-01 20:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-linux/void-packages xf86-input-synaptics
https://github.com/void-linux/void-packages/pull/26873

xf86-input-synaptics: fix build w/ musl-1.2.1
Graceful transition to 64 bit time.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xf86-input-synaptics-26873.patch --]
[-- Type: text/x-diff, Size: 1880 bytes --]

From be6ec2024fd04a968c9d6089487ac089ad6f01f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 1 Dec 2020 21:37:28 +0100
Subject: [PATCH] xf86-input-synaptics: fix build w/ musl-1.2.1

Graceful transition to 64 bit time.
---
 .../patches/fix-input_event-time.patch        | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/xf86-input-synaptics/patches/fix-input_event-time.patch

diff --git a/srcpkgs/xf86-input-synaptics/patches/fix-input_event-time.patch b/srcpkgs/xf86-input-synaptics/patches/fix-input_event-time.patch
new file mode 100644
index 00000000000..af3b593e429
--- /dev/null
+++ b/srcpkgs/xf86-input-synaptics/patches/fix-input_event-time.patch
@@ -0,0 +1,27 @@
+--- src/eventcomm.c	2018-05-29 05:18:45.000000000 +0200
++++ src/eventcomm.c	2020-12-01 21:27:55.746811502 +0100
+@@ -575,9 +575,12 @@
+         ev->type = EV_SYN;
+         ev->code = SYN_REPORT;
+         ev->value = 0;
+-        ev->time = last_event_time;
+-    } else if (ev->type == EV_SYN)
+-        last_event_time = ev->time;
++        ev->input_event_sec = last_event_time.tv_sec;
++        ev->input_event_usec = last_event_time.tv_usec;
++    } else if (ev->type == EV_SYN) {
++        last_event_time.tv_sec = ev->input_event_sec;
++        last_event_time.tv_usec = ev->input_event_usec;
++    }
+ 
+     return TRUE;
+ }
+@@ -725,7 +728,7 @@
+             case SYN_REPORT:
+                 hw->numFingers = count_fingers(pInfo, comm);
+                 if (proto_data->have_monotonic_clock)
+-                    hw->millis = 1000 * ev.time.tv_sec + ev.time.tv_usec / 1000;
++                    hw->millis = 1000 * ev.input_event_sec + ev.input_event_usec / 1000;
+                 else
+                     hw->millis = GetTimeInMillis();
+                 SynapticsCopyHwState(hwRet, hw);

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

* Re: xf86-input-synaptics: fix build w/ musl-1.2.1
  2020-12-01 20:42 [PR PATCH] xf86-input-synaptics: fix build w/ musl-1.2.1 pullmoll
@ 2020-12-02 22:22 ` pullmoll
  2020-12-02 22:22 ` [PR PATCH] [Closed]: " pullmoll
  1 sibling, 0 replies; 4+ messages in thread
From: pullmoll @ 2020-12-02 22:22 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/26873#issuecomment-737531385

Comment:
Pushed to main repository instead of mine.

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

* Re: [PR PATCH] [Closed]: xf86-input-synaptics: fix build w/ musl-1.2.1
  2020-12-01 20:42 [PR PATCH] xf86-input-synaptics: fix build w/ musl-1.2.1 pullmoll
  2020-12-02 22:22 ` pullmoll
@ 2020-12-02 22:22 ` pullmoll
  1 sibling, 0 replies; 4+ messages in thread
From: pullmoll @ 2020-12-02 22:22 UTC (permalink / raw)
  To: ml

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

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

xf86-input-synaptics: fix build w/ musl-1.2.1
https://github.com/void-linux/void-packages/pull/26873

Description:
Graceful transition to 64 bit time.

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

* [PR PATCH] xf86-input-synaptics: fix build w/ musl-1.2.1
@ 2020-12-02 22:23 pullmoll
  0 siblings, 0 replies; 4+ messages in thread
From: pullmoll @ 2020-12-02 22:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pullmoll/void-packages xf86-input-synaptics
https://github.com/void-linux/void-packages/pull/26890

xf86-input-synaptics: fix build w/ musl-1.2.1
Graceful transition to 64 bit time.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xf86-input-synaptics-26890.patch --]
[-- Type: text/x-diff, Size: 2689 bytes --]

From 534cf153ebeee0ccc59bdacadf234e19da278450 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 1 Dec 2020 21:37:28 +0100
Subject: [PATCH] xf86-input-synaptics: fix build w/ musl-1.2.1

Graceful transition to 64 bit time.
---
 .../patches/fix-input_event-time.patch        | 27 +++++++++++++++++++
 srcpkgs/xf86-input-synaptics/template         |  4 +--
 2 files changed, 29 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/xf86-input-synaptics/patches/fix-input_event-time.patch

diff --git a/srcpkgs/xf86-input-synaptics/patches/fix-input_event-time.patch b/srcpkgs/xf86-input-synaptics/patches/fix-input_event-time.patch
new file mode 100644
index 00000000000..af3b593e429
--- /dev/null
+++ b/srcpkgs/xf86-input-synaptics/patches/fix-input_event-time.patch
@@ -0,0 +1,27 @@
+--- src/eventcomm.c	2018-05-29 05:18:45.000000000 +0200
++++ src/eventcomm.c	2020-12-01 21:27:55.746811502 +0100
+@@ -575,9 +575,12 @@
+         ev->type = EV_SYN;
+         ev->code = SYN_REPORT;
+         ev->value = 0;
+-        ev->time = last_event_time;
+-    } else if (ev->type == EV_SYN)
+-        last_event_time = ev->time;
++        ev->input_event_sec = last_event_time.tv_sec;
++        ev->input_event_usec = last_event_time.tv_usec;
++    } else if (ev->type == EV_SYN) {
++        last_event_time.tv_sec = ev->input_event_sec;
++        last_event_time.tv_usec = ev->input_event_usec;
++    }
+ 
+     return TRUE;
+ }
+@@ -725,7 +728,7 @@
+             case SYN_REPORT:
+                 hw->numFingers = count_fingers(pInfo, comm);
+                 if (proto_data->have_monotonic_clock)
+-                    hw->millis = 1000 * ev.time.tv_sec + ev.time.tv_usec / 1000;
++                    hw->millis = 1000 * ev.input_event_sec + ev.input_event_usec / 1000;
+                 else
+                     hw->millis = GetTimeInMillis();
+                 SynapticsCopyHwState(hwRet, hw);
diff --git a/srcpkgs/xf86-input-synaptics/template b/srcpkgs/xf86-input-synaptics/template
index cc2b2ea105e..d39dcdc98ae 100644
--- a/srcpkgs/xf86-input-synaptics/template
+++ b/srcpkgs/xf86-input-synaptics/template
@@ -1,8 +1,7 @@
 # Template file for 'xf86-input-synaptics'
 pkgname=xf86-input-synaptics
 version=1.9.1
-revision=1
-lib32disabled=yes
+revision=2
 build_style=gnu-configure
 hostmakedepends="pkg-config"
 makedepends="libX11-devel libXtst-devel libevdev-devel
@@ -14,6 +13,7 @@ license="MIT"
 homepage="http://www.x.org/"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=7af83526eff1c76e8b9e1553b34245c203d029028d8044dd9dcf71eef1001576
+lib32disabled=yes
 
 post_install() {
 	vlicense COPYING

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

end of thread, other threads:[~2020-12-02 22:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 20:42 [PR PATCH] xf86-input-synaptics: fix build w/ musl-1.2.1 pullmoll
2020-12-02 22:22 ` pullmoll
2020-12-02 22:22 ` [PR PATCH] [Closed]: " pullmoll
2020-12-02 22:23 [PR PATCH] " 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).