From patchwork Sun Aug 11 10:34:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 1971260 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WhYtR15K2z1yXl for ; Sun, 11 Aug 2024 20:34:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 7C6F740758; Sun, 11 Aug 2024 10:34:35 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id MbBv6tZW4Ixc; Sun, 11 Aug 2024 10:34:34 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 27F694075D Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 27F694075D; Sun, 11 Aug 2024 10:34:34 +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 7DBD21BF3A4 for ; Sun, 11 Aug 2024 10:34:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 68C1F4075D for ; Sun, 11 Aug 2024 10:34:32 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id MFov9LGRFUY8 for ; Sun, 11 Aug 2024 10:34:31 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.17.22; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 6AB9C40758 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 6AB9C40758 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by smtp4.osuosl.org (Postfix) with ESMTPS id 6AB9C40758 for ; Sun, 11 Aug 2024 10:34:29 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([89.0.46.195]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MvK4f-1sLhTf3DuL-00tiN5; Sun, 11 Aug 2024 12:34:26 +0200 Date: Sun, 11 Aug 2024 12:34:25 +0200 MIME-Version: 1.0 Message-Id: <20240811-aer-inject-v1-1-9cee7e3bd9b2@gmx.net> X-B4-Tracking: v=1; b=H4sIALCTuGYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDC0ND3cTUIt3MvKzU5BJd09QUc8s0A1NTk7RkJaCGgqLUtMwKsGHRsbW 1AD3+ajdcAAAA To: buildroot@buildroot.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1723372466; l=2285; i=j.neuschaefer@gmx.net; s=20240329; h=from:subject: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WpY+a7Dkf aAP2qMfZrh8NIvOnwXjHqvjqzS/hI4jdriBe2+QaQFWkTmEwuDcOsHpT2NixB/XkISI1xi75J NXeshZgPCnTtsC+/dX/ZYdtag/tweCgRfKSQIMpVqt+NfdexyKhdIqfYpu10wzNjm4tyUFtqS jv112uBpAG5C+jjHYaySQliOP3zp67gYtIiveKW2ovVSfE8dxOLDR6Nv9DXtvvfhFj68btB0p nIi8chiO5+/eKcjb65mtZzPy5pA8H5Ii0kizQCaWbyLWDrQbDXPplkcRj9/CRgAFB03hziADv cNJ8p4Su3trZ49RCJpV+9Thw== X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723372467; x=1723977267; i=j.neuschaefer@gmx.net; bh=7767/QBILy6Wr4ba0evBuMvEBPbZUMKxrs3vPpVe80k=; h=X-UI-Sender-Class:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:To:Cc:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=NbrhAPxEIJcmm+1ZVM9IIoiPF9vhl7yKwCj8KNHcbDL6nsyhr1LiYcspeixAAkVD olKAaxAnWrjxZMvgtLp3et2pqZt3OBhhe3eU4MBoK6KlHGlNp5o365gOpS+rlge7o IexcjouJL+5tDgizn3IFtHrqbKeJfNtAGbcEriECmCLvvBGXb7lOIRX6y+y2szbqk rcJlXo5k4Xxbe5CRZUheDReI8peRBmsOcxV7dboXVW1i+twWMKRbwgDaYKrmSURCy c5/eRzwAcDCkwhbvS+ByFeTSJnGpCWoei8/kZ88+Ltbf9o55O095O4v8FPqWq7zzb lnylUAXKLqhCOtBemQ== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmx.net header.i=j.neuschaefer@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=NbrhAPxE Subject: [Buildroot] [PATCH] package/aer-inject: Fix build error due to missing basename() prototype X-BeenThere: buildroot@buildroot.org 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: , X-Patchwork-Original-From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_buildroot?= From: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Reply-To: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Cc: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fixes several build failures such as: http://autobuild.buildroot.net/results/e61/e613fc777051be6325d7e3c088d5f723fab518fa/build-end.log Signed-off-by: J. Neuschäfer --- This patch is from Kuppuswamy Sathyanarayanan's fork of aer-inject. An alternative to including the patch would be to switch to this fork as Buildroot's idea of upstream. Currently, it is the only change in the fork, though. --- package/aer-inject/0001-libgen-basename.patch | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) --- base-commit: 74b46d08da7adc49b01f7af7ebb9e1421b8a9362 change-id: 20240811-aer-inject-5ed79f0554fc Best regards, -- J. Neuschäfer diff --git a/package/aer-inject/0001-libgen-basename.patch b/package/aer-inject/0001-libgen-basename.patch new file mode 100644 index 0000000000..73c21ad8f4 --- /dev/null +++ b/package/aer-inject/0001-libgen-basename.patch @@ -0,0 +1,35 @@ +From 197f51d29a01f46750fa6928409301aa8f1163d7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 25 Mar 2024 09:04:40 -0700 +Subject: aer-inject: Include libgen.h for explicit basename prototype + +The prototype for basename has been removed from string.h in the latest +versions of musl [1]. This absence of prototype is flagged as an error +by some compilers, such as clang-18. To resolve this, include libgen.h +explicitly, which provides the prototype for basename. + +[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 +Signed-off-by: Khem Raj +[sathya: Updated the commit log] +Signed-off-by: Kuppuswamy Sathyanarayanan +Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/knsathya/aer-inject.git/commit/?id=197f51d29a01f46750fa6928409301aa8f1163d7 +Signed-off-by: J. Neuschaefer +--- + aer-inject.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/aer-inject.c b/aer-inject.c +index 74e7f72..eed1211 100644 +--- a/aer-inject.c ++++ b/aer-inject.c +@@ -11,6 +11,7 @@ + */ + + #include ++#include + #include + #include + #include +-- +cgit 1.2.3-korg +