libinput: Add missing header to fix compilation
authorRosen Penev <rosenp@gmail.com>
Tue, 12 Feb 2019 20:36:07 +0000 (12:36 -0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 14 Aug 2019 05:22:27 +0000 (22:22 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 671f0363a438518e676517b4fb5ed9fd8d4d5f49)

libs/libinput/Makefile
libs/libinput/patches/010-musl-fix.patch [new file with mode: 0644]

index a90d13c575045dd8bad8aa146b3e22deb7123902..af6f1ac9a5bd5bb0d367f1bce4d4b3be390ea03d 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libinput
 PKG_VERSION:=1.7.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://www.freedesktop.org/software/libinput/
diff --git a/libs/libinput/patches/010-musl-fix.patch b/libs/libinput/patches/010-musl-fix.patch
new file mode 100644 (file)
index 0000000..8117fa8
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/src/libinput.h
++++ b/src/libinput.h
+@@ -29,6 +29,7 @@
+ extern "C" {
+ #endif
++#include <stdarg.h>
+ #include <stdlib.h>
+ #include <stdint.h>
+ #include <libudev.h>