From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E35C2158095 for ; Sat, 10 Sep 2022 03:48:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9ED6E0845; Sat, 10 Sep 2022 03:48:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id B1F7CE0845 for ; Sat, 10 Sep 2022 03:48:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 37518340A98 for ; Sat, 10 Sep 2022 03:48:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B60958B for ; Sat, 10 Sep 2022 03:48:26 +0000 (UTC) From: "John Helmert III" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "John Helmert III" Message-ID: <1662781612.d795de12c5f50d63651613565e72a0c5871b7763.ajak@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmitool/, sys-apps/ipmitool/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/ipmitool/files/ipmitool-1.8.19-missing-func-decl.patch sys-apps/ipmitool/ipmitool-1.8.19.ebuild X-VCS-Directories: sys-apps/ipmitool/ sys-apps/ipmitool/files/ X-VCS-Committer: ajak X-VCS-Committer-Name: John Helmert III X-VCS-Revision: d795de12c5f50d63651613565e72a0c5871b7763 X-VCS-Branch: master Date: Sat, 10 Sep 2022 03:48:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dc77ac7e-2330-4ea5-8835-4943a281645b X-Archives-Hash: b8c47fd4873da3c61a2e0f5259dddfed commit: d795de12c5f50d63651613565e72a0c5871b7763 Author: John Helmert III gentoo org> AuthorDate: Sat Sep 10 03:46:52 2022 +0000 Commit: John Helmert III gentoo org> CommitDate: Sat Sep 10 03:46:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d795de12 sys-apps/ipmitool: add missing function declarations For clang-15 compat. Signed-off-by: John Helmert III gentoo.org> .../files/ipmitool-1.8.19-missing-func-decl.patch | 32 ++++++++++++++++++++++ sys-apps/ipmitool/ipmitool-1.8.19.ebuild | 1 + 2 files changed, 33 insertions(+) diff --git a/sys-apps/ipmitool/files/ipmitool-1.8.19-missing-func-decl.patch b/sys-apps/ipmitool/files/ipmitool-1.8.19-missing-func-decl.patch new file mode 100644 index 000000000000..5057fcaf0525 --- /dev/null +++ b/sys-apps/ipmitool/files/ipmitool-1.8.19-missing-func-decl.patch @@ -0,0 +1,32 @@ +https://github.com/ipmitool/ipmitool/pull/360 + +From a9e262480722f5affd237ee10d0bbc8c55617cb7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Sep 2022 07:30:10 -0700 +Subject: [PATCH] ipmi_fru.c: Provide missing function declarations + +Fixes build with clang-15+ + +Signed-off-by: Khem Raj +--- + lib/ipmi_fru.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/lib/ipmi_fru.c b/lib/ipmi_fru.c +index 3d1d8a1a..5c5661cf 100644 +--- a/lib/ipmi_fru.c ++++ b/lib/ipmi_fru.c +@@ -60,6 +60,13 @@ static const char *section_id[4] = { + "Board Section", + "Product Section" + }; ++/* From lib/ipmi_hpmfwupg.c: */ ++uint16_t ++ipmi_intf_get_max_request_data_size(struct ipmi_intf * intf); ++ ++/* From src/plugins/ipmi_intf.c: */ ++uint16_t ++ipmi_intf_get_max_response_data_size(struct ipmi_intf * intf); + + static const char * combined_voltage_desc[] = { + "12 V", diff --git a/sys-apps/ipmitool/ipmitool-1.8.19.ebuild b/sys-apps/ipmitool/ipmitool-1.8.19.ebuild index fabe705490a8..318e661f232d 100644 --- a/sys-apps/ipmitool/ipmitool-1.8.19.ebuild +++ b/sys-apps/ipmitool/ipmitool-1.8.19.ebuild @@ -39,6 +39,7 @@ DEPEND="${RDEPEND} # but it doesn't actually need either. PATCHES=( + "${FILESDIR}/${P}-missing-func-decl.patch" # yoinked out of debian's patchset, previously carried in a SRC_URI # tarball "${FILESDIR}/${P}-fix-buffer-overflow.patch"