bluez: update to 5.52.

This commit is contained in:
k4leg 2019-11-02 18:33:03 +03:00 committed by Helmut Pozimski
parent 1099353b78
commit 8c33cdfd58
3 changed files with 6 additions and 68 deletions

View file

@ -1,66 +0,0 @@
From 9ac712db3c9913d6e00635e120d77541dcc51b6b Mon Sep 17 00:00:00 2001
From: Doan Tran Cong Danh <congdanhqx@gmail.com>
Date: Thu, 3 Oct 2019 13:00:13 +0700
Subject: [PATCH 5/9] include limits.h for musl build
---
mesh/keyring.c | 2 +-
mesh/mesh-config-json.c | 1 +
mesh/node.c | 1 +
mesh/util.c | 1 +
4 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/mesh/keyring.c b/mesh/keyring.c
index 3a7f92f9f..d5765983c 100644
--- a/mesh/keyring.c
+++ b/mesh/keyring.c
@@ -24,9 +24,9 @@
#define _GNU_SOURCE
#include <fcntl.h>
#include <dirent.h>
+#include <limits.h>
#include <stdio.h>
#include <unistd.h>
-#include <dirent.h>
#include <sys/stat.h>
diff --git a/mesh/mesh-config-json.c b/mesh/mesh-config-json.c
index cafa2fdd7..74ca49590 100644
--- a/mesh/mesh-config-json.c
+++ b/mesh/mesh-config-json.c
@@ -27,6 +27,7 @@
#include <fcntl.h>
#include <ftw.h>
#include <libgen.h>
+#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff --git a/mesh/node.c b/mesh/node.c
index b6824f505..15dcb977f 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -23,6 +23,7 @@
#define _GNU_SOURCE
#include <dirent.h>
+#include <limits.h>
#include <stdio.h>
#include <sys/time.h>
diff --git a/mesh/util.c b/mesh/util.c
index 1455bdec3..e441a2ed8 100644
--- a/mesh/util.c
+++ b/mesh/util.c
@@ -24,6 +24,7 @@
#define _GNU_SOURCE
#include <dirent.h>
#include <ftw.h>
+#include <limits.h>
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
--
2.23.0

View file

@ -0,0 +1,4 @@
--- a/mesh/keyring.c 2019-11-02 19:35:04.114268710 +0300
+++ b/mesh/keyring.c 2019-11-02 19:35:14.305444472 +0300
@@ -30 +29,0 @@
-#include <dirent.h>

View file

@ -1,6 +1,6 @@
# Template file for 'bluez'
pkgname=bluez
version=5.51
version=5.52
revision=1
build_style=gnu-configure
configure_args="--with-udevdir=/usr/lib/udev --disable-systemd
@ -14,7 +14,7 @@ maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://www.bluez.org/"
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
checksum=ebedfb359f62957940822f1d0b39fcee30422380e435608dad06bb3913d5ebba
checksum=f7144ce2039202cfac18ccb52426efea11c98e4f6e1bb8041bcb994b8378560a
conf_files="/etc/bluetooth/main.conf"
system_groups="bluetooth"
build_options="mesh nfc"