kumquat-buildroot/package/bluez5_utils
Thomas Devoogdt 572d08ee4a package/bluez5_utils: fix build with libglib2 >= 2.69
Fix the following build failure raised since bump of libglib2 to version
2.70 in commit 079923d:

profiles/battery/battery.c:162:2: warning: 'g_memdup' is deprecated (declared at /home/buildroot/autobuild/instance-0/output-1/host/bin/../arm-buildroot-linux-gnueabi/sysroot/usr/include/glib-2.0/glib/gstrfuncs.h:257): Use 'g_memdup2' instead [-Wdeprecated-declarations]
  batt->initial_value = g_memdup(value, length);

Fixes:
 - http://autobuild.buildroot.org/results/6b8/6b8870d12e0804d6154230a7322c49416c1dc0e2/build-end.log

Sources:
 - https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=710220f861b100856711a0a4d4a852874228a57a
 - https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=9f09e69ecb077082301dafb745856e1f3731aaa7
 - https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=cfab569484b18407fc117bb96634525cc76ea1f5

Signed-off-by: Thomas Devoogdt <thomas.devoogdt@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-02-06 15:10:51 +01:00
..
0001-tools-mesh-cfgtest-include-limits.h.patch
0002-shared-util-Rename-btd_malloc-to-util_malloc.patch
0003-shared-util-Add-util_memdup.patch
0004-build-Replace-use-of-g_memdup-with-util_memdup.patch
bluez5_utils.hash
bluez5_utils.mk
Config.in
S40bluetooth