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 8176D158020 for ; Thu, 1 Dec 2022 04:23:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99E61E0826; Thu, 1 Dec 2022 04:23:24 +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 7CB08E0827 for ; Thu, 1 Dec 2022 04:23:24 +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 4F08C340F4D for ; Thu, 1 Dec 2022 04:23:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 85B614C8 for ; Thu, 1 Dec 2022 04:23:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1669867740.83d8d592d9ead4682680138e973c0211bffe835e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/argus/files/, net-analyzer/argus/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/argus/argus-3.0.8.3-r1.ebuild net-analyzer/argus/argus-3.0.8.3-r2.ebuild net-analyzer/argus/files/argus-3.0.8.3-configure-clang16.patch X-VCS-Directories: net-analyzer/argus/ net-analyzer/argus/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 83d8d592d9ead4682680138e973c0211bffe835e X-VCS-Branch: master Date: Thu, 1 Dec 2022 04:23:21 +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: 8deaa6d8-e0fe-4dfa-9ac7-bbb46785b11d X-Archives-Hash: 7e9804734d9ea413ab1269fff4f3ab96 commit: 83d8d592d9ead4682680138e973c0211bffe835e Author: Sam James gentoo org> AuthorDate: Thu Dec 1 04:09:00 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Dec 1 04:09:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83d8d592 net-analyzer/argus: fix configure w/ clang 16 Signed-off-by: Sam James gentoo.org> ...s-3.0.8.3-r1.ebuild => argus-3.0.8.3-r2.ebuild} | 7 ++-- .../files/argus-3.0.8.3-configure-clang16.patch | 41 ++++++++++++++++++++++ 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/net-analyzer/argus/argus-3.0.8.3-r1.ebuild b/net-analyzer/argus/argus-3.0.8.3-r2.ebuild similarity index 93% rename from net-analyzer/argus/argus-3.0.8.3-r1.ebuild rename to net-analyzer/argus/argus-3.0.8.3-r2.ebuild index a4176cf571c4..e316b6bc37ef 100644 --- a/net-analyzer/argus/argus-3.0.8.3-r1.ebuild +++ b/net-analyzer/argus/argus-3.0.8.3-r2.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools toolchain-funcs DESCRIPTION="network Audit Record Generation and Utilization System" HOMEPAGE="https://openargus.org/" SRC_URI="https://www.qosient.com/argus/dev/${P/_rc/.rc.}.tar.gz" +S="${WORKDIR}"/${P/_rc/.rc.} LICENSE="GPL-3" SLOT="0" @@ -35,8 +36,8 @@ PATCHES=( "${FILESDIR}"/${PN}-3.0.7.3-DLT_IPNET.patch "${FILESDIR}"/${PN}-3.0.8.3-ar.patch "${FILESDIR}"/${PN}-3.0.8.3-as-needed.patch + "${FILESDIR}"/${PN}-3.0.8.3-configure-clang16.patch ) -S=${WORKDIR}/${P/_rc/.rc.} src_prepare() { find . -type f -execdir chmod +w {} \; #561360 diff --git a/net-analyzer/argus/files/argus-3.0.8.3-configure-clang16.patch b/net-analyzer/argus/files/argus-3.0.8.3-configure-clang16.patch new file mode 100644 index 000000000000..2e9720c04326 --- /dev/null +++ b/net-analyzer/argus/files/argus-3.0.8.3-configure-clang16.patch @@ -0,0 +1,41 @@ +https://github.com/openargus/argus/pull/5 + +From dd987328bd2b99977a1a686a1a6b36d1a3155ff7 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Fri, 25 Nov 2022 19:03:24 +0100 +Subject: [PATCH] configure (AC_LBL_UNALIGNED_ACCESS): Avoid implicit function + decls + +Implicit function declarations were removed from the C language +in 1999. Include the relevant header files to ensure that the +check still works with future compilers. C99 also requires +to declare the return types of all functions. +--- a/acsite.m4 ++++ b/acsite.m4 +@@ -298,8 +298,10 @@ AC_DEFUN([AC_LBL_UNALIGNED_ACCESS], + # include + # include + # include ++# include ++# include + unsigned char a[[5]] = { 1, 2, 3, 4, 5 }; +- main() { ++ int main() { + unsigned int i; + pid_t pid; + int status; +--- a/configure ++++ b/configure +@@ -5791,8 +5791,10 @@ else + # include + # include + # include ++# include ++# include + unsigned char a[5] = { 1, 2, 3, 4, 5 }; +- main() { ++ int main() { + unsigned int i; + pid_t pid; + int status; +