From patchwork Tue Jan 5 12:15:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Keeping X-Patchwork-Id: 563064 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D719C140311 for ; Tue, 5 Jan 2016 23:15:37 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=metanate.com header.i=@metanate.com header.b=phvh6vxe; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 14FB732BCD; Tue, 5 Jan 2016 12:15:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id frhcJYcdE55N; Tue, 5 Jan 2016 12:15:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 432DA32C0D; Tue, 5 Jan 2016 12:15:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D448F1C0F77 for ; Tue, 5 Jan 2016 12:15:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D08B08A81F for ; Tue, 5 Jan 2016 12:15:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8f08khvfkVmZ for ; Tue, 5 Jan 2016 12:15:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from metanate.com (dougal.metanate.com [90.155.101.14]) by hemlock.osuosl.org (Postfix) with ESMTPS id F17E887F6D for ; Tue, 5 Jan 2016 12:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=metanate.com; s=stronger; h=Message-Id:Date:Subject:Cc:To:From; bh=H7V1IkcQBwM37L9qs6084OJUxYwTLVySZDcnhUiGrbg=; b=phvh6vxeNLAi8bYBtav1PNgqXh7UDT9UOodErDfNqceXRaXATNe1vzaX09TZ044/wyPvAzIhI5QMhjSj+rzTjKZeGZSGcywWe709QSISk/1SPfXEoEYqPZQeVFd6BwHUo3LxJ6d+U1CTfjPdVwi5ySkOQUgCre0nXHg8bp88aq21bO9yYZkbc35LT0kUUAEA9UvRMMvqGCVI9ZnDBKhwfCPovDi4/gMGkbVZg2xWwLUijxFf863UntJJpcjk+3ebZfb5qvif6ZScc+hqFfosBTI3vhRAftP4C2CfTB0Q9rGM61jnizT6bbHFJfvKPlpOFYpj0hP+aLhWb61ZyTBhMg==; Received: from brian ([192.168.88.1] helo=leela.metanate.com) by shrek.metanate.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.83_RC2) (envelope-from ) id 1aGQWL-0007j6-E0; Tue, 05 Jan 2016 12:15:25 +0000 From: John Keeping To: buildroot@buildroot.org Date: Tue, 5 Jan 2016 12:15:15 +0000 Message-Id: <1451996115-23241-1-git-send-email-john@keeping.me.uk> X-Mailer: git-send-email 2.7.0.rc0.76.g531d676 Cc: John Keeping Subject: [Buildroot] [PATCH] bluez5_utils: bump to version 5.37 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: John Keeping Both patches are now included upstream. Signed-off-by: John Keeping --- .../0001-Link-mcaptest-with-lrt-when-needed.patch | 54 ---------------------- .../0002-src-shared-ecc.c-include-config.h.patch | 33 ------------- package/bluez5_utils/bluez5_utils.hash | 2 +- package/bluez5_utils/bluez5_utils.mk | 2 +- 4 files changed, 2 insertions(+), 89 deletions(-) delete mode 100644 package/bluez5_utils/0001-Link-mcaptest-with-lrt-when-needed.patch delete mode 100644 package/bluez5_utils/0002-src-shared-ecc.c-include-config.h.patch diff --git a/package/bluez5_utils/0001-Link-mcaptest-with-lrt-when-needed.patch b/package/bluez5_utils/0001-Link-mcaptest-with-lrt-when-needed.patch deleted file mode 100644 index a36e285..0000000 --- a/package/bluez5_utils/0001-Link-mcaptest-with-lrt-when-needed.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 54b8977c2f854d04f9c6383e2cac76ea4cde3eaa Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Mon, 29 Dec 2014 12:23:41 +0100 -Subject: [PATCH] Link mcaptest with -lrt when needed - -The mcaptest tool uses the profiles/health/mcap.c source file, which -calls clock_getres(). This function is defined in librt in some C -libraries, so mcaptest should be linked against librt when needed, -otherwise one gets link failures such as: - -ld: profiles/health/mcap.o: undefined reference to symbol 'clock_getres@@GLIBC_2.2.5' -ld: note: 'clock_getres@@GLIBC_2.2.5' is defined in DSO [...]/sysroot/lib64/librt.so.1 so try adding it to the linker command line -[...]/sysroot/lib64/librt.so.1: could not read symbols: Invalid operation -collect2: error: ld returned 1 exit status -Makefile:4184: recipe for target 'tools/mcaptest' failed - -Signed-off-by: Thomas Petazzoni ---- - Makefile.tools | 2 +- - configure.ac | 5 +++++ - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/Makefile.tools b/Makefile.tools -index bc827fe..fef3db5 100644 ---- a/Makefile.tools -+++ b/Makefile.tools -@@ -195,7 +195,7 @@ tools_mcaptest_SOURCES = tools/mcaptest.c \ - btio/btio.h btio/btio.c \ - src/log.c src/log.h \ - profiles/health/mcap.h profiles/health/mcap.c --tools_mcaptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ -+tools_mcaptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ @RT_LIBS@ - - dist_man_MANS += tools/hciattach.1 tools/hciconfig.1 \ - tools/hcitool.1 tools/hcidump.1 \ -diff --git a/configure.ac b/configure.ac -index 4739c10..b0afba6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -54,6 +54,11 @@ AC_CHECK_LIB(pthread, pthread_create, dummy=yes, - AC_CHECK_LIB(dl, dlopen, dummy=yes, - AC_MSG_ERROR(dynamic linking loader is required)) - -+AC_SEARCH_LIBS([clock_getres], [rt], -+ [test "$ac_cv_search_clock_getres" = "none required" || -+ RT_LIBS=$ac_cv_search_clock_getres]) -+AC_SUBST([RT_LIBS]) -+ - PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.28, dummy=yes, - AC_MSG_ERROR(GLib >= 2.28 is required)) - AC_SUBST(GLIB_CFLAGS) --- -2.1.0 - diff --git a/package/bluez5_utils/0002-src-shared-ecc.c-include-config.h.patch b/package/bluez5_utils/0002-src-shared-ecc.c-include-config.h.patch deleted file mode 100644 index f339c88..0000000 --- a/package/bluez5_utils/0002-src-shared-ecc.c-include-config.h.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 3c5a93d0be4457120d17da70918f9eb8799d6c52 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Thu, 1 Jan 2015 22:33:34 +0100 -Subject: [PATCH] src/shared/ecc.c: include - -The ecc.c file forgets to include . This causes build -failures with certain C libraries, because ecc.c uses O_CLOEXEC, which -is only available when _GNU_SOURCE is defined. And _GNU_SOURCE gets -defined by , so it should be included. - -Signed-off-by: Thomas Petazzoni ---- - src/shared/ecc.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/shared/ecc.c b/src/shared/ecc.c -index 33c4187..41be02b 100644 ---- a/src/shared/ecc.c -+++ b/src/shared/ecc.c -@@ -24,6 +24,10 @@ - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ - #include - #include - #include --- -2.1.0 - diff --git a/package/bluez5_utils/bluez5_utils.hash b/package/bluez5_utils/bluez5_utils.hash index 8bddb71..75c53b3 100644 --- a/package/bluez5_utils/bluez5_utils.hash +++ b/package/bluez5_utils/bluez5_utils.hash @@ -1,2 +1,2 @@ # From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc: -sha256 fbf33cebc76f8c81f28f0d67c71a8a1ec4b04b087460ec7353f7e0c207a1f981 bluez-5.27.tar.xz +sha256 c14ba9ddcb0055522073477b8fd8bf1ddf5d219e75fdfd4699b7e0ce5350d6b0 bluez-5.37.tar.xz diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk index cd3849a..1308e4e 100644 --- a/package/bluez5_utils/bluez5_utils.mk +++ b/package/bluez5_utils/bluez5_utils.mk @@ -4,7 +4,7 @@ # ################################################################################ -BLUEZ5_UTILS_VERSION = 5.27 +BLUEZ5_UTILS_VERSION = 5.37 BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth BLUEZ5_UTILS_INSTALL_STAGING = YES