From bf20257776661849c63af0158a1ee4bc42e62baa Mon Sep 17 00:00:00 2001 From: Wade Cline Date: Sun, 9 Aug 2026 16:08:18 -0700 Subject: [PATCH] net-irc/atheme-services: Bump to 7.2.12-r7 Fix compilation failure with Perl 5.44. Closes: https://bugs.gentoo.org/980329 Signed-off-by: Wade Cline Part-of: https://github.com/gentoo/gentoo/pull/46683 Closes: https://github.com/gentoo/gentoo/pull/46683 Signed-off-by: Sam James --- ...build => atheme-services-7.2.12-r7.ebuild} | 3 ++- ...it-function-declaration-on-Perl-5.44.patch | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) rename net-irc/atheme-services/{atheme-services-7.2.12-r6.ebuild => atheme-services-7.2.12-r7.ebuild} (96%) create mode 100644 net-irc/atheme-services/files/atheme-services-7.2.12-Fix-implicit-function-declaration-on-Perl-5.44.patch diff --git a/net-irc/atheme-services/atheme-services-7.2.12-r6.ebuild b/net-irc/atheme-services/atheme-services-7.2.12-r7.ebuild similarity index 96% rename from net-irc/atheme-services/atheme-services-7.2.12-r6.ebuild rename to net-irc/atheme-services/atheme-services-7.2.12-r7.ebuild index b08400f416616..9297dd552ce02 100644 --- a/net-irc/atheme-services/atheme-services-7.2.12-r6.ebuild +++ b/net-irc/atheme-services/atheme-services-7.2.12-r7.ebuild @@ -34,7 +34,8 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-configure-logdir.patch "${FILESDIR}"/${P}-libathemecore-account-fix-assertion-macro-return-type.patch - "${FILESDIR}"/${P}-fix-compilation-with-recent-ExtUtils-ParseXS.patch) + "${FILESDIR}"/${P}-fix-compilation-with-recent-ExtUtils-ParseXS.patch + "${FILESDIR}"/${P}-Fix-implicit-function-declaration-on-Perl-5.44.patch) src_configure() { # perl scriping module support is also broken in 7.0.0. Yay for QA failures. diff --git a/net-irc/atheme-services/files/atheme-services-7.2.12-Fix-implicit-function-declaration-on-Perl-5.44.patch b/net-irc/atheme-services/files/atheme-services-7.2.12-Fix-implicit-function-declaration-on-Perl-5.44.patch new file mode 100644 index 0000000000000..6b48be042c179 --- /dev/null +++ b/net-irc/atheme-services/files/atheme-services-7.2.12-Fix-implicit-function-declaration-on-Perl-5.44.patch @@ -0,0 +1,24 @@ +From 23d60185ebeda03c31a82d9c90f837f80b210bf0 Mon Sep 17 00:00:00 2001 +From: Attila Toth +Date: Sun, 9 Aug 2026 15:34:59 -0700 +Subject: [PATCH] Fix implicit function declaration on Perl 5.44 + +--- + modules/scripting/perl/api/channel.xs | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/modules/scripting/perl/api/channel.xs b/modules/scripting/perl/api/channel.xs +index ec289c03c..9fba442ae 100644 +--- a/modules/scripting/perl/api/channel.xs ++++ b/modules/scripting/perl/api/channel.xs +@@ -1,5 +1,7 @@ + MODULE = Atheme PACKAGE = Atheme::Channel + ++#include "../../../chanserv/chanserv.h" ++ + Atheme_Channel + find(SV * package, const char * name) + CODE: +-- +2.54.0 +