From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/psutils/, app-text/psutils/files/
Date: Fri, 9 Sep 2022 02:27:26 +0000 (UTC) [thread overview]
Message-ID: <1662690414.ffcf06f5e11b47daae87b336b8f3fda4c25919ad.sam@gentoo> (raw)
commit: ffcf06f5e11b47daae87b336b8f3fda4c25919ad
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 9 02:21:48 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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() {
next reply other threads:[~2022-09-09 2:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-09 2:27 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-21 16:29 [gentoo-commits] repo/gentoo:master commit in: app-text/psutils/, app-text/psutils/files/ David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1662690414.ffcf06f5e11b47daae87b336b8f3fda4c25919ad.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox