games-arcade/frozen-bubble: fix build w/ perl-5.40

Closes: https://bugs.gentoo.org/934245
Thanks-to: Torsten Kaiser
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2024-06-24 04:13:10 +01:00
parent 7e291aacd9
commit 110a607831
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,16 @@
https://bugs.gentoo.org/934245
Fix build error:
Attempt to call undefined import method with arguments ("0.36") via package "Module::Build" (Perhaps you forgot to load the package?) at inc/My/Builder.pm line 11.
--- a/inc/My/Builder.pm
+++ b/inc/My/Builder.pm
@@ -8,7 +8,7 @@
use File::Slurp qw(read_file write_file);
use File::Spec::Functions qw(catdir catfile rootdir);
use IO::File qw();
-use Module::Build '0.36' => qw();
+use Module::Build qw();
use autodie qw(:all move read_file write_file);
use parent 'Module::Build';
use Locale::Maketext::Extract;

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors # Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -44,6 +44,7 @@ BDEPEND="
PATCHES=( PATCHES=(
"${FILESDIR}"/${P}-Werror.patch "${FILESDIR}"/${P}-Werror.patch
"${FILESDIR}"/${P}-fix-buffer-size.patch "${FILESDIR}"/${P}-fix-buffer-size.patch
"${FILESDIR}"/${P}-perl-5.40.patch
) )
src_configure() { src_configure() {