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>
This commit is contained in:
Moritz Haase 2025-07-14 13:26:34 +02:00 committed by Khem Raj
parent ee1fb7e5c3
commit 86d80eeb39
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 28 additions and 5 deletions

View File

@ -0,0 +1,24 @@
From a074af0d6a21665d3dfbd785ffd788146afeacef Mon Sep 17 00:00:00 2001
From: Davide Cavalca <dcavalca@fedoraproject.org>
Date: Thu, 25 Apr 2024 21:39:23 -0700
Subject: [PATCH] Add missing include
Upstream-Status: Backport [a074af0d6a21665d3dfbd785ffd788146afeacef]
Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
---
common/gattlib_common_adapter.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/gattlib_common_adapter.c b/common/gattlib_common_adapter.c
index d56ed5b..d4274c8 100644
--- a/common/gattlib_common_adapter.c
+++ b/common/gattlib_common_adapter.c
@@ -4,6 +4,8 @@
* Copyright (c) 2021-2024, Olivier Martin <olivier@labapart.org>
*/
+#include <ctype.h>
+
#include "gattlib_internal.h"
// Keep track of the allocated adapters to avoid an adapter to be freed twice.

View File

@ -2,18 +2,17 @@ DESCRIPTION = "Bluetooth library with attribute support"
SECTION = "libs/network"
LICENSE = "GPL-2.0-or-later | BSD-3-Clause"
LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=6;md5=a87ee154f005a6f035b8b34ac2191f3b"
LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=6;md5=f44a9a14d37330e7cd454e694e714ab8"
DEPENDS = "bluez5 glib-2.0 glib-2.0-native python3-packaging-native"
PV = "0.2+git"
SRC_URI = "git://github.com/labapart/gattlib.git;branch=master;protocol=https \
SRC_URI = "git://github.com/labapart/gattlib.git;branch=master;protocol=https;tag=${PV} \
file://dbus-avoid-strange-chars-from-the-build-dir.patch \
file://0001-Add-missing-include.patch \
"
SRCBRANCH = "master"
SRCREV = "33a8a275928b186381bb0aea0f9778e330e57ec3"
SRCREV = "f99558d9b8e3dbba2a952a0b292d3497aec8ee69"
CVE_STATUS[CVE-2019-6498] = "fixed-version: patch is already included in sources"