summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bluez5/bluez5
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/bluez5/bluez5')
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch10
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5/0001-tests-add-a-target-for-building-tests-without-runnin.patch10
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-util.c-include-linux-limits.h.patch27
3 files changed, 35 insertions, 12 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch
index e90b6a546f..b1e93dbe19 100644
--- a/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch
+++ b/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch
@@ -1,4 +1,4 @@
1From 61e741654cc2eb167bca212a3bb2ba8f3ba280c1 Mon Sep 17 00:00:00 2001 1From fb583a57f9f4ab956a09e9bb96d89aa13553bf21 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <Mingli.Yu@windriver.com> 2From: Mingli Yu <Mingli.Yu@windriver.com>
3Date: Fri, 24 Aug 2018 12:04:03 +0800 3Date: Fri, 24 Aug 2018 12:04:03 +0800
4Subject: [PATCH] test-gatt: Fix hung issue 4Subject: [PATCH] test-gatt: Fix hung issue
@@ -21,15 +21,16 @@ no action.
21Upstream-Status: Submitted [https://marc.info/?l=linux-bluetooth&m=153508881804635&w=2] 21Upstream-Status: Submitted [https://marc.info/?l=linux-bluetooth&m=153508881804635&w=2]
22 22
23Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> 23Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
24
24--- 25---
25 unit/test-gatt.c | 2 +- 26 unit/test-gatt.c | 2 +-
26 1 file changed, 1 insertion(+), 1 deletion(-) 27 1 file changed, 1 insertion(+), 1 deletion(-)
27 28
28diff --git a/unit/test-gatt.c b/unit/test-gatt.c 29diff --git a/unit/test-gatt.c b/unit/test-gatt.c
29index c7e28f8..b57373b 100644 30index 5e06d4e..4864d36 100644
30--- a/unit/test-gatt.c 31--- a/unit/test-gatt.c
31+++ b/unit/test-gatt.c 32+++ b/unit/test-gatt.c
32@@ -4463,7 +4463,7 @@ int main(int argc, char *argv[]) 33@@ -4546,7 +4546,7 @@ int main(int argc, char *argv[])
33 test_server, service_db_1, NULL, 34 test_server, service_db_1, NULL,
34 raw_pdu(0x03, 0x00, 0x02), 35 raw_pdu(0x03, 0x00, 0x02),
35 raw_pdu(0xbf, 0x00), 36 raw_pdu(0xbf, 0x00),
@@ -38,6 +39,3 @@ index c7e28f8..b57373b 100644
38 39
39 define_test_server("/robustness/unkown-command", 40 define_test_server("/robustness/unkown-command",
40 test_server, service_db_1, NULL, 41 test_server, service_db_1, NULL,
41--
422.7.4
43
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-tests-add-a-target-for-building-tests-without-runnin.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-tests-add-a-target-for-building-tests-without-runnin.patch
index 24ddae6b63..881494a354 100644
--- a/meta/recipes-connectivity/bluez5/bluez5/0001-tests-add-a-target-for-building-tests-without-runnin.patch
+++ b/meta/recipes-connectivity/bluez5/bluez5/0001-tests-add-a-target-for-building-tests-without-runnin.patch
@@ -1,19 +1,20 @@
1From 4bdf0f96dcaa945fd29f26d56e5b36d8c23e4c8b Mon Sep 17 00:00:00 2001 1From 738e73b386352fd90f1f26cc1ee75427cf4dc23b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 1 Apr 2016 17:07:34 +0300 3Date: Fri, 1 Apr 2016 17:07:34 +0300
4Subject: [PATCH] tests: add a target for building tests without running them 4Subject: [PATCH] tests: add a target for building tests without running them
5 5
6Upstream-Status: Inappropriate [oe specific] 6Upstream-Status: Inappropriate [oe specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
8--- 9---
9 Makefile.am | 3 +++ 10 Makefile.am | 3 +++
10 1 file changed, 3 insertions(+) 11 1 file changed, 3 insertions(+)
11 12
12diff --git a/Makefile.am b/Makefile.am 13diff --git a/Makefile.am b/Makefile.am
13index 1a48a71..ba3b92f 100644 14index e738eb3..dab17dd 100644
14--- a/Makefile.am 15--- a/Makefile.am
15+++ b/Makefile.am 16+++ b/Makefile.am
16@@ -425,6 +425,9 @@ endif 17@@ -710,6 +710,9 @@ endif
17 TESTS = $(unit_tests) 18 TESTS = $(unit_tests)
18 AM_TESTS_ENVIRONMENT = MALLOC_CHECK_=3 MALLOC_PERTURB_=69 19 AM_TESTS_ENVIRONMENT = MALLOC_CHECK_=3 MALLOC_PERTURB_=69
19 20
@@ -23,6 +24,3 @@ index 1a48a71..ba3b92f 100644
23 if DBUS_RUN_SESSION 24 if DBUS_RUN_SESSION
24 AM_TESTS_ENVIRONMENT += dbus-run-session -- 25 AM_TESTS_ENVIRONMENT += dbus-run-session --
25 endif 26 endif
26--
272.8.0.rc3
28
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-util.c-include-linux-limits.h.patch b/meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-util.c-include-linux-limits.h.patch
new file mode 100644
index 0000000000..516d859069
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-util.c-include-linux-limits.h.patch
@@ -0,0 +1,27 @@
1From b53df61b41088b68c127ac76cc71683ac3453b9d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Mon, 12 Dec 2022 13:10:19 +0100
4Subject: [PATCH] src/shared/util.c: include linux/limits.h
5
6MAX_INPUT is defined in that file. This matters on non-glibc
7systems such as those using musl.
8
9Upstream-Status: Submitted [to linux-bluetooth@vger.kernel.org,luiz.von.dentz@intel.com,frederic.danis@collabora.com]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11
12---
13 src/shared/util.c | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/src/shared/util.c b/src/shared/util.c
17index c0c2c4a..036dc0d 100644
18--- a/src/shared/util.c
19+++ b/src/shared/util.c
20@@ -23,6 +23,7 @@
21 #include <unistd.h>
22 #include <dirent.h>
23 #include <limits.h>
24+#include <linux/limits.h>
25 #include <string.h>
26
27 #ifdef HAVE_SYS_RANDOM_H