diff options
author | Guðni Már Gilbert <gudni.m.g@gmail.com> | 2024-09-15 21:14:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-17 12:16:01 +0100 |
commit | 5f2557e8ed8c02d9a896c293a81e0c1f3c0e406a (patch) | |
tree | 2babbac963b2c3daad428f00ae63a8a9be508eeb /meta/recipes-connectivity | |
parent | 48a898fdfbb85e35edd4342321d7be0393624934 (diff) | |
download | poky-5f2557e8ed8c02d9a896c293a81e0c1f3c0e406a.tar.gz |
bluez5: remove redundant patch for MAX_INPUT
The solution to the problem upstream was fixed by the following commit:
https://github.com/bluez/bluez/commit/ca6546fe521360fcf905bc115b893f322e706cb2
Now MAX_INPUT is defined for non-glibc systems such as musl.
This fix was added in BlueZ 5.67.
(From OE-Core rev: fea1bb917ebb1f99c83dbbc87a6f0ffc3627879a)
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 1 | ||||
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-util.c-include-linux-limits.h.patch | 26 |
2 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index e0d3e65187..eda0f8d6c7 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc | |||
@@ -69,7 +69,6 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ | |||
69 | file://run-ptest \ | 69 | file://run-ptest \ |
70 | file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ | 70 | file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ |
71 | file://0001-test-gatt-Fix-hung-issue.patch \ | 71 | file://0001-test-gatt-Fix-hung-issue.patch \ |
72 | file://0004-src-shared-util.c-include-linux-limits.h.patch \ | ||
73 | file://0001-Provide-GNU-basename-compatible-implementation.patch \ | 72 | file://0001-Provide-GNU-basename-compatible-implementation.patch \ |
74 | " | 73 | " |
75 | S = "${WORKDIR}/bluez-${PV}" | 74 | S = "${WORKDIR}/bluez-${PV}" |
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 deleted file mode 100644 index 14afdf025b..0000000000 --- a/meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-util.c-include-linux-limits.h.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From 409b2247f0003bc474a73aed78fa4c5a86bc30ec Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Mon, 12 Dec 2022 13:10:19 +0100 | ||
4 | Subject: [PATCH] src/shared/util.c: include linux/limits.h | ||
5 | |||
6 | MAX_INPUT is defined in that file. This matters on non-glibc | ||
7 | systems such as those using musl. | ||
8 | |||
9 | Upstream-Status: Submitted [to linux-bluetooth@vger.kernel.org,luiz.von.dentz@intel.com,frederic.danis@collabora.com] | ||
10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
11 | --- | ||
12 | src/shared/util.c | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/src/shared/util.c b/src/shared/util.c | ||
16 | index 6e7634a..45fcd6a 100644 | ||
17 | --- a/src/shared/util.c | ||
18 | +++ b/src/shared/util.c | ||
19 | @@ -23,6 +23,7 @@ | ||
20 | #include <unistd.h> | ||
21 | #include <dirent.h> | ||
22 | #include <limits.h> | ||
23 | +#include <linux/limits.h> | ||
24 | #include <string.h> | ||
25 | |||
26 | #ifdef HAVE_SYS_RANDOM_H | ||