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 <wadecline@hotmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/46683
Closes: https://github.com/gentoo/gentoo/pull/46683
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Wade Cline
2026-08-09 16:08:18 -07:00
committed by Sam James
parent e53a1dc5fd
commit bf20257776
2 changed files with 26 additions and 1 deletions

View File

@@ -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.

View File

@@ -0,0 +1,24 @@
From 23d60185ebeda03c31a82d9c90f837f80b210bf0 Mon Sep 17 00:00:00 2001
From: Attila Toth <unknown@unknown.com>
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