summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch29
-rw-r--r--meta-oe/recipes-support/utouch/utouch-frame_git.bb4
2 files changed, 32 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch b/meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch
new file mode 100644
index 0000000000..f3c8eeb418
--- /dev/null
+++ b/meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch
@@ -0,0 +1,29 @@
1From 08b17ec505e09e8f5a4d73ffc3aa61561ec2e0da Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 30 Mar 2017 00:27:54 -0700
4Subject: [PATCH] include sys/stat.h for fixing build issue on musl
5
6error: field has incomplete
7 type 'struct stat'
8 struct stat fs;
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 tools/utouch-frame-test-mtdev.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/tools/utouch-frame-test-mtdev.c b/tools/utouch-frame-test-mtdev.c
16index 5253320..2032af4 100644
17--- a/tools/utouch-frame-test-mtdev.c
18+++ b/tools/utouch-frame-test-mtdev.c
19@@ -30,6 +30,7 @@
20 #include <stdio.h>
21 #include <unistd.h>
22 #include <fcntl.h>
23+#include <sys/stat.h>
24 #include "common-defs.h"
25
26 struct frame_test {
27--
282.12.1
29
diff --git a/meta-oe/recipes-support/utouch/utouch-frame_git.bb b/meta-oe/recipes-support/utouch/utouch-frame_git.bb
index 6ec566ddb2..39d46af8e9 100644
--- a/meta-oe/recipes-support/utouch/utouch-frame_git.bb
+++ b/meta-oe/recipes-support/utouch/utouch-frame_git.bb
@@ -10,7 +10,9 @@ DEPENDS += "mtdev utouch-evemu"
10inherit autotools pkgconfig 10inherit autotools pkgconfig
11 11
12SRC_URI = "git://bitmath.org/git/frame.git;protocol=http \ 12SRC_URI = "git://bitmath.org/git/frame.git;protocol=http \
13 file://remove-man-page-creation.patch" 13 file://remove-man-page-creation.patch \
14 file://0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch \
15 "
14SRCREV = "95363d5a1f7394d71144bf3b408ef4e6db4350fc" 16SRCREV = "95363d5a1f7394d71144bf3b408ef4e6db4350fc"
15 17
16PV = "1.1.2+git${SRCPV}" 18PV = "1.1.2+git${SRCPV}"