diff options
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 1 | ||||
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5/0001-tools-btpclient.c-include-signal.h.patch | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index f582a07e22..1702323288 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc | |||
@@ -58,6 +58,7 @@ SRC_URI = "\ | |||
58 | file://CVE-2018-10910.patch \ | 58 | file://CVE-2018-10910.patch \ |
59 | file://gcc9-fixes.patch \ | 59 | file://gcc9-fixes.patch \ |
60 | file://0001-tools-Fix-build-after-y2038-changes-in-glibc.patch \ | 60 | file://0001-tools-Fix-build-after-y2038-changes-in-glibc.patch \ |
61 | file://0001-tools-btpclient.c-include-signal.h.patch \ | ||
61 | " | 62 | " |
62 | S = "${WORKDIR}/bluez-${PV}" | 63 | S = "${WORKDIR}/bluez-${PV}" |
63 | 64 | ||
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-tools-btpclient.c-include-signal.h.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-tools-btpclient.c-include-signal.h.patch new file mode 100644 index 0000000000..620aaabc68 --- /dev/null +++ b/meta/recipes-connectivity/bluez5/bluez5/0001-tools-btpclient.c-include-signal.h.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 0b1766514f6847c7367fce07f19a750ec74c11a6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Thu, 26 Sep 2019 16:19:34 +0800 | ||
4 | Subject: [PATCH] tools/btpclient.c: include signal.h | ||
5 | |||
6 | Fix compile failure when configure --enable-btpclient: | ||
7 | btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function) | ||
8 | |||
9 | Upstream-Status: Backport [A subset of the full fix that went upstream] | ||
10 | |||
11 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
12 | --- | ||
13 | tools/btpclient.c | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/tools/btpclient.c b/tools/btpclient.c | ||
17 | index b217df5..aece7fe 100644 | ||
18 | --- a/tools/btpclient.c | ||
19 | +++ b/tools/btpclient.c | ||
20 | @@ -29,6 +29,7 @@ | ||
21 | #include <stdlib.h> | ||
22 | #include <assert.h> | ||
23 | #include <getopt.h> | ||
24 | +#include <signal.h> | ||
25 | |||
26 | #include <ell/ell.h> | ||
27 | |||
28 | -- | ||
29 | 2.7.4 | ||
30 | |||