From d0d70b3f4427b3ee9a640ee3d3de608329782938 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Wed, 1 May 2024 13:55:07 +0000 Subject: [PATCH] bluez: fix gcc-14 build this patch should be reviewed against potentially newer verion of this patch - https://coral.googlesource.com/bluez-imx/+log/refs/heads/release-chef - https://github.com/balena-os/balena-coral/tree/master/layers/meta-balena-coral/recipes-connectivity/bluez5/patches --- .../bluez-21-hciattach-add-QCA9377-Tuffello-support.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/network/bluez/patches/bluez-21-hciattach-add-QCA9377-Tuffello-support.patch b/packages/network/bluez/patches/bluez-21-hciattach-add-QCA9377-Tuffello-support.patch index 98355a6126..63a415b60f 100644 --- a/packages/network/bluez/patches/bluez-21-hciattach-add-QCA9377-Tuffello-support.patch +++ b/packages/network/bluez/patches/bluez-21-hciattach-add-QCA9377-Tuffello-support.patch @@ -953,7 +953,7 @@ index 000000000..9a7f222c4 + return ret; + } + -+ while (getline(&line, &bytes_read, pfile) > 0 ) { ++ while (getline(&line, (size_t *)&bytes_read, pfile) > 0 ) { + if (line[0] != '#' && line[0] != '\n') { + pch = memchr(line, '=', strlen(line)); + if (pch != NULL) {