summaryrefslogtreecommitdiffstats
path: root/package/mtdev2tuio
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-01-31 09:08:23 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-31 23:48:00 +0100
commit392362ed487713e621229d931990f311cecc2c29 (patch)
tree17026a8353c99e8064c43e911cb3ce6dcd079477 /package/mtdev2tuio
parent7ddf2a6b2cb89026c0b402a76bcb1bf3c1a47c80 (diff)
downloadbuildroot-392362ed487713e621229d931990f311cecc2c29.tar.gz
buildroot-392362ed487713e621229d931990f311cecc2c29.zip
package/mtdev2tuio: fix musl build
Fixes http://autobuild.buildroot.net/results/aee/aee411047265bf205f8990a3d0d2310decb5fd19/ http://autobuild.buildroot.net/results/9a9/9a96fdd2b52a75b348b46696c7f8b427f2d987c2/ http://autobuild.buildroot.net/results/2e1/2e155f2f57fd035362ad1b414f42e1c2b5de844b/ http://autobuild.buildroot.net/results/f62/f62d3830c594d9169fa9b9df5212f190d676fab9/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mtdev2tuio')
-rw-r--r--package/mtdev2tuio/0001-Fix-build-with-musl-libc.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/mtdev2tuio/0001-Fix-build-with-musl-libc.patch b/package/mtdev2tuio/0001-Fix-build-with-musl-libc.patch
new file mode 100644
index 0000000000..810b66c61b
--- /dev/null
+++ b/package/mtdev2tuio/0001-Fix-build-with-musl-libc.patch
@@ -0,0 +1,30 @@
+From f974bb1f92603973711bea36a7869dfa8358aae0 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Sun, 31 Jan 2016 09:04:46 +0100
+Subject: [PATCH 1/1] Fix build with musl libc
+
+Include missing header to prevent build error detected by buildroot:
+http://autobuild.buildroot.net/results/aee/aee411047265bf205f8990a3d0d2310decb5fd19/build-end.log
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+Patch sent upstream: https://github.com/olivopaolo/mtdev2tuio/pull/2
+
+ mtdev2tuio.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/mtdev2tuio.c b/mtdev2tuio.c
+index 3a9174f..f2c98d5 100644
+--- a/mtdev2tuio.c
++++ b/mtdev2tuio.c
+@@ -41,6 +41,7 @@
+ #include <getopt.h>
+ #include <signal.h>
+ #include <sys/utsname.h>
++#include <sys/file.h>
+
+ #define NSEC_PER_USEC 1000L
+ #define NSEC_PER_SEC 1000000000L
+--
+2.7.0.rc3
+
OpenPOWER on IntegriCloud