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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A79BF158091 for ; Sun, 12 Jun 2022 10:42:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3939E0907; Sun, 12 Jun 2022 10:42:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 D8DD6E0907 for ; Sun, 12 Jun 2022 10:42:13 +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 DA1203415BF for ; Sun, 12 Jun 2022 10:42:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38DFE44B for ; Sun, 12 Jun 2022 10:42:11 +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: <1655030523.d5bde60aca1e5821685c1488d88edf16228eea84.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi/, net-irc/irssi/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch net-irc/irssi/irssi-1.4.1.ebuild X-VCS-Directories: net-irc/irssi/files/ net-irc/irssi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d5bde60aca1e5821685c1488d88edf16228eea84 X-VCS-Branch: master Date: Sun, 12 Jun 2022 10:42:11 +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: 19390f3b-650f-425a-a36d-6cd67a9475b0 X-Archives-Hash: 0140845675591b7d5fc98b827323249e commit: d5bde60aca1e5821685c1488d88edf16228eea84 Author: Sam James gentoo org> AuthorDate: Sun Jun 12 10:42:03 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 12 10:42:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5bde60a net-irc/irssi: fix build w/ Perl 5.36 Closes: https://bugs.gentoo.org/851522 Signed-off-by: Sam James gentoo.org> net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch | 14 ++++++++++++++ net-irc/irssi/irssi-1.4.1.ebuild | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch b/net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch new file mode 100644 index 000000000000..83b03680cd44 --- /dev/null +++ b/net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/851522 +https://github.com/Perl/perl5/issues/19382 +--- a/meson.build ++++ b/meson.build +@@ -553,9 +553,6 @@ configure_file(output : 'irssi-config.h', + # CFLAGS # + ########## + +-#### warnings #### +-add_project_arguments(cc.get_supported_arguments('-Werror=declaration-after-statement'), language : 'c') +- + #### personality #### + add_project_arguments(cc.get_supported_arguments('-fno-strict-aliasing'), language : 'c') + if get_option('buildtype').contains('debug') diff --git a/net-irc/irssi/irssi-1.4.1.ebuild b/net-irc/irssi/irssi-1.4.1.ebuild index a943775df18e..b16a43f2e55d 100644 --- a/net-irc/irssi/irssi-1.4.1.ebuild +++ b/net-irc/irssi/irssi-1.4.1.ebuild @@ -39,6 +39,10 @@ BDEPEND="dev-lang/perl virtual/pkgconfig" RDEPEND+=" selinux? ( sec-policy/selinux-irc )" +PATCHES=( + "${FILESDIR}"/${PN}-1.4.1-no-werror-decl.patch +) + src_configure() { local emesonargs=( -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}