Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 453430 Details for
Bug 599938
x11-drivers/xf86-input-keyboard-1.8.1: build fails with >=x11-base/xorg-server-1.19.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch, for convenience
fix_build_xorg_1.19.patch (text/plain), 904 bytes, created by
Kamil Kamiński
on 2016-11-16 08:57:06 UTC
(
hide
)
Description:
Proposed patch, for convenience
Filename:
MIME Type:
Creator:
Kamil Kamiński
Created:
2016-11-16 08:57:06 UTC
Size:
904 bytes
patch
obsolete
>--- a/src/kbd.c >+++ b/src/kbd.c >@@ -45,6 +45,10 @@ > #include "xkbstr.h" > #include "xkbsrv.h" > >+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 23 >+#define HAVE_THREADED_INPUT 1 >+#endif >+ > #define CAPSFLAG 1 > #define NUMFLAG 2 > #define SCROLLFLAG 4 >@@ -352,7 +356,11 @@ KbdProc(DeviceIntPtr device, int what) > */ > if (pInfo->fd >= 0) { > xf86FlushInput(pInfo->fd); >+#if HAVE_THREADED_INPUT >+ xf86AddEnabledDevice(pInfo); >+#else > AddEnabledDevice(pInfo->fd); >+#endif > } > > device->public.on = TRUE; >@@ -365,8 +373,13 @@ KbdProc(DeviceIntPtr device, int what) > /* > * Restore original keyboard directness and translation. > */ >- if (pInfo->fd != -1) >+ if (pInfo->fd != -1) { >+#if HAVE_THREADED_INPUT >+ xf86RemoveEnabledDevice(pInfo); >+#else > RemoveEnabledDevice(pInfo->fd); >+#endif >+ } > pKbd->KbdOff(pInfo, what); > device->public.on = FALSE; > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 599938
: 453430