From patchwork Thu Jul 22 21:07:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Nosthoff X-Patchwork-Id: 1508860 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=heine.tech header.i=@heine.tech header.a=rsa-sha256 header.s=dkim header.b=vbxDd3W1; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GW4nN3fLmz9sWS for ; Fri, 23 Jul 2021 07:08:56 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 54AAB82EA4; Thu, 22 Jul 2021 21:08:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N4SRSQflHYij; Thu, 22 Jul 2021 21:08:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id AAD8382FEA; Thu, 22 Jul 2021 21:08:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 5F3FE1BF39A for ; Thu, 22 Jul 2021 21:08:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 4D94C401C7 for ; Thu, 22 Jul 2021 21:08:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=heine.tech Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7QxK4uksFLmi for ; Thu, 22 Jul 2021 21:08:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from mail.heine.tech (mail.heine.tech [IPv6:2a01:4f8:1c0c:5073::1]) by smtp4.osuosl.org (Postfix) with ESMTPS id C374840179 for ; Thu, 22 Jul 2021 21:08:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A53BD18287E; Thu, 22 Jul 2021 23:08:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heine.tech; s=dkim; t=1626988127; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=20zeyZjZWE26mWua4uIsds1+WvgteWn0h0oQTvOlkOo=; b=vbxDd3W1kZiDswYrQUt2v30aoobRWgZSMdZ8+ugLsUnHKwd1fr5MKdUO66uE1kMiVYsxmc PYSv/aiqqS4jFNR50956411ld/s2CfW1FR7v33x/+CGg4q0//dBZEJ2ShjsgSHHbjPpY0A iAno2lFFDtItQxBIm51iBwWIwO61qwM= To: buildroot@buildroot.org Date: Thu, 22 Jul 2021 23:07:02 +0200 Message-Id: <20210722210704.29948-1-buildroot@heine.tech> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.2 Subject: [Buildroot] [PATCH] package/bluez5_utils: fix build with musl X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Michael Nosthoff via buildroot Reply-To: Michael Nosthoff Cc: Michael Nosthoff , Marcin Bis Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" add missing include limits.h for MAX_PATH in mesh-cfgtest.c. Patch submitted upstream: https://lore.kernel.org/linux-bluetooth/20210722204923.29735-1-bluez@heine.tech Fixes: http://autobuild.buildroot.net/results/20cc47f54de0b0d4bdf108c3715c590ae8ab476f/ Signed-off-by: Michael Nosthoff --- ...-tools-mesh-cfgtest-include-limits.h.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/bluez5_utils/0001-tools-mesh-cfgtest-include-limits.h.patch diff --git a/package/bluez5_utils/0001-tools-mesh-cfgtest-include-limits.h.patch b/package/bluez5_utils/0001-tools-mesh-cfgtest-include-limits.h.patch new file mode 100644 index 0000000000..fdb9b15763 --- /dev/null +++ b/package/bluez5_utils/0001-tools-mesh-cfgtest-include-limits.h.patch @@ -0,0 +1,27 @@ +From 15c81618946c10fd98df6333821f036d8cfeb5c4 Mon Sep 17 00:00:00 2001 +From: Michael Nosthoff +Date: Thu, 22 Jul 2021 21:36:13 +0200 +Subject: [PATCH BlueZ] tools/mesh-cfgtest: include limits.h + +mesh-cfgtest.c uses MAX_PATH so it should include limits.h. + +fixes compilation error with musl-based toolchains. +--- + tools/mesh-cfgtest.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/mesh-cfgtest.c b/tools/mesh-cfgtest.c +index fa0474faa..116ab7f16 100644 +--- a/tools/mesh-cfgtest.c ++++ b/tools/mesh-cfgtest.c +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.32.0 +