commit:     110a607831ef21af82c02f547cbcf0556d24376c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 24 03:13:10 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 03:13:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=110a6078

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 <AT> gentoo.org>

 .../files/frozen-bubble-2.2.1_beta1-perl-5.40.patch      | 16 ++++++++++++++++
 .../frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild    |  3 ++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git 
a/games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-perl-5.40.patch 
b/games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-perl-5.40.patch
new file mode 100644
index 000000000000..ba22b139e16c
--- /dev/null
+++ b/games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-perl-5.40.patch
@@ -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;

diff --git a/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild 
b/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild
index 3a75e5deb783..28f22c8bcc99 100644
--- a/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild
+++ b/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild
@@ -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
 
 EAPI=8
@@ -44,6 +44,7 @@ BDEPEND="
 PATCHES=(
        "${FILESDIR}"/${P}-Werror.patch
        "${FILESDIR}"/${P}-fix-buffer-size.patch
+       "${FILESDIR}"/${P}-perl-5.40.patch
 )
 
 src_configure() {

Reply via email to