From 41abab7c6bc2f89bb2e1e52ec679f9526ae91bf0 Mon Sep 17 00:00:00 2001 From: k4leg Date: Sat, 2 Nov 2019 18:33:03 +0300 Subject: [PATCH] bluez: update to 5.52. --- ...0005-include-limits.h-for-musl-build.patch | 66 ------------------- .../0005-remove-dirent.h-for-musl-build.patch | 4 ++ srcpkgs/bluez/template | 4 +- 3 files changed, 6 insertions(+), 68 deletions(-) delete mode 100644 srcpkgs/bluez/patches/0005-include-limits.h-for-musl-build.patch create mode 100644 srcpkgs/bluez/patches/0005-remove-dirent.h-for-musl-build.patch diff --git a/srcpkgs/bluez/patches/0005-include-limits.h-for-musl-build.patch b/srcpkgs/bluez/patches/0005-include-limits.h-for-musl-build.patch deleted file mode 100644 index 0de1d253c1f..00000000000 --- a/srcpkgs/bluez/patches/0005-include-limits.h-for-musl-build.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 9ac712db3c9913d6e00635e120d77541dcc51b6b Mon Sep 17 00:00:00 2001 -From: Doan Tran Cong Danh -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 - #include -+#include - #include - #include --#include - - #include - -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 - #include - #include -+#include - #include - #include - #include -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 -+#include - #include - #include - -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 - #include -+#include - #include - #include - #include --- -2.23.0 - diff --git a/srcpkgs/bluez/patches/0005-remove-dirent.h-for-musl-build.patch b/srcpkgs/bluez/patches/0005-remove-dirent.h-for-musl-build.patch new file mode 100644 index 00000000000..4f27bb3e5d9 --- /dev/null +++ b/srcpkgs/bluez/patches/0005-remove-dirent.h-for-musl-build.patch @@ -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 diff --git a/srcpkgs/bluez/template b/srcpkgs/bluez/template index 9286b93a542..4138dcebf0f 100644 --- a/srcpkgs/bluez/template +++ b/srcpkgs/bluez/template @@ -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 " 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"