mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #2547 from mhei/fix-libinput
libinput: fix and optimize build
This commit is contained in:
@@ -26,7 +26,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
TARGET_CFLAGS+= -std=gnu99
|
||||
|
||||
CONFIGURE_ARGS += --disable-libwacom
|
||||
CONFIGURE_ARGS += --disable-libwacom --disable-tests --disable-documentation
|
||||
|
||||
define Package/libinput
|
||||
SECTION:=libs
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
--- a/src/evdev-tablet.c
|
||||
+++ b/src/evdev-tablet.c
|
||||
@@ -1155,9 +1155,11 @@ static void
|
||||
tablet_mark_all_axes_changed(struct tablet_dispatch *tablet,
|
||||
struct libinput_tablet_tool *tool)
|
||||
{
|
||||
+#if 0
|
||||
static_assert(sizeof(tablet->changed_axes) ==
|
||||
sizeof(tool->axis_caps),
|
||||
"Mismatching array sizes");
|
||||
+#endif
|
||||
|
||||
memcpy(tablet->changed_axes,
|
||||
tool->axis_caps,
|
||||
Reference in New Issue
Block a user