diff options
author | Sam James <sam@gentoo.org> | 2022-06-12 11:42:03 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-12 11:42:03 +0100 |
commit | d5bde60aca1e5821685c1488d88edf16228eea84 (patch) | |
tree | 6802a20d142012ef16b2bad4e54b5b976606a84f /net-irc | |
parent | net-irc/irssi-xmpp: fix build with irssi-1.4 (diff) | |
download | gentoo-d5bde60aca1e5821685c1488d88edf16228eea84.tar.gz gentoo-d5bde60aca1e5821685c1488d88edf16228eea84.tar.bz2 gentoo-d5bde60aca1e5821685c1488d88edf16228eea84.zip |
net-irc/irssi: fix build w/ Perl 5.36
Closes: https://bugs.gentoo.org/851522
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/irssi/files/irssi-1.4.1-no-werror-decl.patch | 14 | ||||
-rw-r--r-- | net-irc/irssi/irssi-1.4.1.ebuild | 4 |
2 files changed, 18 insertions, 0 deletions
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} |