pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/56958: x11/xf86-input-ws is broken for NetBSD 9
>Number: 56958
>Category: pkg
>Synopsis: x11/xf86-input-ws is broken for NetBSD 9
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 07 21:15:00 +0000 2022
>Originator: Mustafa Dogan
>Release: NetBSD 9.2_STABLE on amd64
>Organization:
TESMER
>Environment:
NetBSD localhost 9.2_STABLE NetBSD 9.2_STABLE (GENERIC) #0: Thu Aug 4 09:16:19 +03 2022 root@localhost:/usr/OBJ/sys/arch/amd64/compile/GENERIC amd64
>Description:
Hi,
x11/xf86-input-ws is broken for nearly two months, at least NetBSD-9.2 on amd64. Because, NetBSD 9.2 doesn't have WSCONS_EVENT_HSCROLL and WSCONS_EVENT_VSCROLL (but current has).
>How-To-Repeat:
>Fix:
To compile properly, please add lines below to pkgsrc/x11/xf86-input-ws/patches/patch-src_ws.c:
...
@@ -611,17 +610,23 @@ wsReadHwState(InputInfoPtr pInfo, wsHwSt
case WSCONS_EVENT_MOUSE_ABSOLUTE_W:
/* ignore those */
continue;
+#ifdef WSCONS_EVENT_SYNC
case WSCONS_EVENT_SYNC:
DBG(4, ErrorF("Sync\n"));
return TRUE;
+#endif
+#ifdef WSCONS_EVENT_HSCROLL
case WSCONS_EVENT_HSCROLL:
hw->hscroll = event->value;
DBG(4, ErrorF("Horiz. Scrolling %d\n", event->value));
return TRUE;
+#endif
+#ifdef WSCONS_EVENT_VSCROLL
case WSCONS_EVENT_VSCROLL:
hw->vscroll = event->value;
DBG(4, ErrorF("Vert. Scrolling %d\n", event->value));
return TRUE;
+#endif
...
Home |
Main Index |
Thread Index |
Old Index