From cd4eeb1fb69a27e67e699aa6c7ffd8f9866243e3 Mon Sep 17 00:00:00 2001 From: Guðni Már Gilbert Date: Tue, 17 Sep 2024 19:34:46 +0000 Subject: bluez5: remove redundant patch for MAX_INPUT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: a2532944258334c9f64b673278040dd5e27489d2) Signed-off-by: Richard Purdie Signed-off-by: Guðni Már Gilbert Signed-off-by: Steve Sakoman --- meta/recipes-connectivity/bluez5/bluez5.inc | 1 - ...-src-shared-util.c-include-linux-limits.h.patch | 27 ---------------------- 2 files changed, 28 deletions(-) delete mode 100644 meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-util.c-include-linux-limits.h.patch (limited to 'meta') diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index a31d7076ba..3f2f096aac 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -54,7 +54,6 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} \ file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ file://0001-test-gatt-Fix-hung-issue.patch \ - file://0004-src-shared-util.c-include-linux-limits.h.patch \ " 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 516d859069..0000000000 --- a/meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-util.c-include-linux-limits.h.patch +++ /dev/null @@ -1,27 +0,0 @@ -From b53df61b41088b68c127ac76cc71683ac3453b9d Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin -Date: Mon, 12 Dec 2022 13:10:19 +0100 -Subject: [PATCH] src/shared/util.c: include linux/limits.h - -MAX_INPUT is defined in that file. This matters on non-glibc -systems such as those using musl. - -Upstream-Status: Submitted [to linux-bluetooth@vger.kernel.org,luiz.von.dentz@intel.com,frederic.danis@collabora.com] -Signed-off-by: Alexander Kanavin - ---- - src/shared/util.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/shared/util.c b/src/shared/util.c -index c0c2c4a..036dc0d 100644 ---- a/src/shared/util.c -+++ b/src/shared/util.c -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - #include - - #ifdef HAVE_SYS_RANDOM_H -- cgit v1.2.3-54-g00ecf