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 2E740158095 for ; Fri, 9 Sep 2022 02:27:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33EE3E0993; Fri, 9 Sep 2022 02:27:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 1F0AEE0993 for ; Fri, 9 Sep 2022 02:27: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 DE604340D5E for ; Fri, 9 Sep 2022 02:27:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 40BC15B1 for ; Fri, 9 Sep 2022 02:27:26 +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: <1662690414.ffcf06f5e11b47daae87b336b8f3fda4c25919ad.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/psutils/, app-text/psutils/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/psutils/files/psutils-1.17-clang-implicit-int.patch app-text/psutils/psutils-1.17-r5.ebuild X-VCS-Directories: app-text/psutils/ app-text/psutils/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ffcf06f5e11b47daae87b336b8f3fda4c25919ad X-VCS-Branch: master Date: Fri, 9 Sep 2022 02:27: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: daaa2f0b-1123-4cd2-8e55-c9bcf8a720f9 X-Archives-Hash: e221658d785cfba35aaa2dbd7b1b7eaf commit: ffcf06f5e11b47daae87b336b8f3fda4c25919ad Author: Sam James gentoo org> AuthorDate: Fri Sep 9 02:21:48 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 9 02:26:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffcf06f5 app-text/psutils: fix build w/ Clang 15 for old too Bug: https://bugs.gentoo.org/869242 Signed-off-by: Sam James gentoo.org> .../psutils/files/psutils-1.17-clang-implicit-int.patch | 16 ++++++++++++++++ app-text/psutils/psutils-1.17-r5.ebuild | 1 + 2 files changed, 17 insertions(+) diff --git a/app-text/psutils/files/psutils-1.17-clang-implicit-int.patch b/app-text/psutils/files/psutils-1.17-clang-implicit-int.patch new file mode 100644 index 000000000000..0f70648dd600 --- /dev/null +++ b/app-text/psutils/files/psutils-1.17-clang-implicit-int.patch @@ -0,0 +1,16 @@ +--- a/pserror.c ++++ b/pserror.c +@@ -22,11 +22,11 @@ extern char *program ; /* Defined by mai + #define MAX_COLUMN 78 /* maximum column to print upto */ + + void message(int flags, char *format, ...) + { + va_list args ; +- static column = 0 ; /* current screen column for message wrap */ ++ static int column = 0 ; /* current screen column for message wrap */ + char msgbuf[MAX_MESSAGE] ; /* buffer in which to put the message */ + char *bufptr = msgbuf ; /* message buffer pointer */ + + if ( (flags & MESSAGE_NL) && column != 0 ) { /* new line if not already */ + putc('\n', stderr) ; + diff --git a/app-text/psutils/psutils-1.17-r5.ebuild b/app-text/psutils/psutils-1.17-r5.ebuild index dd64aadab49c..87cb65425884 100644 --- a/app-text/psutils/psutils-1.17-r5.ebuild +++ b/app-text/psutils/psutils-1.17-r5.ebuild @@ -19,6 +19,7 @@ BDEPEND="dev-lang/perl" PATCHES=( "${FILESDIR}"/${P}-makefile.patch "${FILESDIR}"/${P}-no-fixmacps.patch + "${FILESDIR}"/${P}-clang-implicit-int.patch ) src_compile() {