summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Haase <Moritz.Haase@bmw.de>2025-07-14 13:26:34 +0200
committerKhem Raj <raj.khem@gmail.com>2025-07-15 00:25:30 -0700
commit86d80eeb399d82ff9e8f90214dfe1b6ac5fb17ec (patch)
treecac7069815604d7d5ccff48ff8faddcda88db918
parentee1fb7e5c3df834077afe1785a555725dc063d04 (diff)
downloadmeta-openembedded-86d80eeb399d82ff9e8f90214dfe1b6ac5fb17ec.tar.gz
gattlib: upgrade 0.2.0 -> 0.7.2
New version includes support to build against CMake 4+. Release notes are available at [0]. [0]: https://github.com/labapart/gattlib/releases License-Update: Copyright year changed Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/gattlib/files/0001-Add-missing-include.patch24
-rw-r--r--meta-oe/recipes-connectivity/gattlib/gattlib_0.7.2.bb (renamed from meta-oe/recipes-connectivity/gattlib/gattlib_git.bb)9
2 files changed, 28 insertions, 5 deletions
diff --git a/meta-oe/recipes-connectivity/gattlib/files/0001-Add-missing-include.patch b/meta-oe/recipes-connectivity/gattlib/files/0001-Add-missing-include.patch
new file mode 100644
index 0000000000..15fbb61ed3
--- /dev/null
+++ b/meta-oe/recipes-connectivity/gattlib/files/0001-Add-missing-include.patch
@@ -0,0 +1,24 @@
1From a074af0d6a21665d3dfbd785ffd788146afeacef Mon Sep 17 00:00:00 2001
2From: Davide Cavalca <dcavalca@fedoraproject.org>
3Date: Thu, 25 Apr 2024 21:39:23 -0700
4Subject: [PATCH] Add missing include
5
6Upstream-Status: Backport [a074af0d6a21665d3dfbd785ffd788146afeacef]
7Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
8---
9 common/gattlib_common_adapter.c | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/common/gattlib_common_adapter.c b/common/gattlib_common_adapter.c
13index d56ed5b..d4274c8 100644
14--- a/common/gattlib_common_adapter.c
15+++ b/common/gattlib_common_adapter.c
16@@ -4,6 +4,8 @@
17 * Copyright (c) 2021-2024, Olivier Martin <olivier@labapart.org>
18 */
19
20+#include <ctype.h>
21+
22 #include "gattlib_internal.h"
23
24 // Keep track of the allocated adapters to avoid an adapter to be freed twice.
diff --git a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb b/meta-oe/recipes-connectivity/gattlib/gattlib_0.7.2.bb
index 06f0b5bf0a..1ebb8350b2 100644
--- a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb
+++ b/meta-oe/recipes-connectivity/gattlib/gattlib_0.7.2.bb
@@ -2,18 +2,17 @@ DESCRIPTION = "Bluetooth library with attribute support"
2SECTION = "libs/network" 2SECTION = "libs/network"
3 3
4LICENSE = "GPL-2.0-or-later | BSD-3-Clause" 4LICENSE = "GPL-2.0-or-later | BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=6;md5=a87ee154f005a6f035b8b34ac2191f3b" 5LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=6;md5=f44a9a14d37330e7cd454e694e714ab8"
6 6
7DEPENDS = "bluez5 glib-2.0 glib-2.0-native python3-packaging-native" 7DEPENDS = "bluez5 glib-2.0 glib-2.0-native python3-packaging-native"
8 8
9PV = "0.2+git" 9SRC_URI = "git://github.com/labapart/gattlib.git;branch=master;protocol=https;tag=${PV} \
10
11SRC_URI = "git://github.com/labapart/gattlib.git;branch=master;protocol=https \
12 file://dbus-avoid-strange-chars-from-the-build-dir.patch \ 10 file://dbus-avoid-strange-chars-from-the-build-dir.patch \
11 file://0001-Add-missing-include.patch \
13 " 12 "
14 13
15SRCBRANCH = "master" 14SRCBRANCH = "master"
16SRCREV = "33a8a275928b186381bb0aea0f9778e330e57ec3" 15SRCREV = "f99558d9b8e3dbba2a952a0b292d3497aec8ee69"
17 16
18 17
19CVE_STATUS[CVE-2019-6498] = "fixed-version: patch is already included in sources" 18CVE_STATUS[CVE-2019-6498] = "fixed-version: patch is already included in sources"