From 7b07caa9d1459f9cba33cb8e7fceddf23a36583d Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 24 Jun 2024 04:00:35 +0100 Subject: [PATCH 1/5] app-crypt/pinentry: allow <1.3 to build w/ >=libassuan-3 Delete the bundled macro so it uses the system copy which knows libassuan-3 is compatible with libassuan-2 API-wise. Closes: https://bugs.gentoo.org/934771 Signed-off-by: Sam James --- .../files/pinentry-1.2.1-libassuan-3.patch | 46 +++++++++++++++++++ app-crypt/pinentry/pinentry-1.2.1-r7.ebuild | 3 ++ app-crypt/pinentry/pinentry-1.2.1-r8.ebuild | 3 ++ 3 files changed, 52 insertions(+) create mode 100644 app-crypt/pinentry/files/pinentry-1.2.1-libassuan-3.patch diff --git a/app-crypt/pinentry/files/pinentry-1.2.1-libassuan-3.patch b/app-crypt/pinentry/files/pinentry-1.2.1-libassuan-3.patch new file mode 100644 index 0000000000000..35b71998e87af --- /dev/null +++ b/app-crypt/pinentry/files/pinentry-1.2.1-libassuan-3.patch @@ -0,0 +1,46 @@ +https://bugs.gentoo.org/934771 +https://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=commit;h=a39ba412ab24721d4edb6476156371f8bf1d3ff9 + +From a39ba412ab24721d4edb6476156371f8bf1d3ff9 Mon Sep 17 00:00:00 2001 +From: NIIBE Yutaka +Date: Fri, 28 Jul 2023 14:09:11 +0900 +Subject: [PATCH] build: Update libassuan.m4 for libassuan version 3 in future. + +* m4/libassuan.m4: Update from libassuan master. + +-- + +New libassuan 3 has backward compatible API. + +Signed-off-by: NIIBE Yutaka +--- a/m4/libassuan.m4 ++++ b/m4/libassuan.m4 +@@ -9,7 +9,7 @@ dnl This file is distributed in the hope that it will be useful, but + dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + dnl SPDX-License-Identifier: FSFULLR +-# Last-changed: 2022-11-01 ++# Last-changed: 2023-07-26 + + dnl + dnl Common code used for libassuan detection [internal] +@@ -89,6 +89,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], + + if test $ok = yes; then + AC_MSG_RESULT([yes ($libassuan_config_version)]) ++ AC_DEFINE(LIBASSUAN_API_REQUESTED, $req_libassuan_api, Requested API version for libassuan) + else + AC_MSG_RESULT(no) + fi +@@ -104,6 +105,8 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], + AC_MSG_CHECKING([LIBASSUAN API version]) + if test "$req_libassuan_api" -eq "$tmp" ; then + AC_MSG_RESULT(okay) ++ elif test "$req_libassuan_api" -eq 2 -a "$tmp" -eq 3; then ++ AC_MSG_RESULT(okay) + else + ok=no + AC_MSG_RESULT([does not match. want=$req_libassuan_api got=$tmp.]) +-- +2.30.2 + diff --git a/app-crypt/pinentry/pinentry-1.2.1-r7.ebuild b/app-crypt/pinentry/pinentry-1.2.1-r7.ebuild index 1d1c3ad9f119f..3ddf24c5674cd 100644 --- a/app-crypt/pinentry/pinentry-1.2.1-r7.ebuild +++ b/app-crypt/pinentry/pinentry-1.2.1-r7.ebuild @@ -58,6 +58,9 @@ src_prepare() { unset FLTK_CONFIG + # bug #934771 + rm m4/libassuan.m4 || die + eautoreconf } diff --git a/app-crypt/pinentry/pinentry-1.2.1-r8.ebuild b/app-crypt/pinentry/pinentry-1.2.1-r8.ebuild index b44f3638784c3..7f097b0608246 100644 --- a/app-crypt/pinentry/pinentry-1.2.1-r8.ebuild +++ b/app-crypt/pinentry/pinentry-1.2.1-r8.ebuild @@ -59,6 +59,9 @@ src_prepare() { unset FLTK_CONFIG + # bug #934771 + rm m4/libassuan.m4 || die + eautoreconf } From d62ed721d9dee28fa7ccea67d4be797229f5c9da Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 24 Jun 2024 04:02:03 +0100 Subject: [PATCH 2/5] dev-python/fonttools: Stabilize 4.53.0 sparc, #934714 Signed-off-by: Sam James --- dev-python/fonttools/fonttools-4.53.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/fonttools/fonttools-4.53.0.ebuild b/dev-python/fonttools/fonttools-4.53.0.ebuild index 5b723e40d6c41..79987bb88adf3 100644 --- a/dev-python/fonttools/fonttools-4.53.0.ebuild +++ b/dev-python/fonttools/fonttools-4.53.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" RDEPEND=" From ce300f1b5500e0a2d255f7e5be4241ff1a3c2615 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 24 Jun 2024 04:02:04 +0100 Subject: [PATCH 3/5] dev-python/munkres: Stabilize 1.1.4-r1 sparc, #934714 Signed-off-by: Sam James --- dev-python/munkres/munkres-1.1.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/munkres/munkres-1.1.4-r1.ebuild b/dev-python/munkres/munkres-1.1.4-r1.ebuild index 8e888358d1c6d..27582683d785a 100644 --- a/dev-python/munkres/munkres-1.1.4-r1.ebuild +++ b/dev-python/munkres/munkres-1.1.4-r1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest From 7e291aacd96adbbd096fe2d6950d57f3005481c6 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 24 Jun 2024 04:09:36 +0100 Subject: [PATCH 4/5] app-dicts/verbiste: add missing test dep(s) Closes: https://bugs.gentoo.org/820329 Signed-off-by: Sam James --- app-dicts/verbiste/verbiste-0.1.48.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app-dicts/verbiste/verbiste-0.1.48.ebuild b/app-dicts/verbiste/verbiste-0.1.48.ebuild index b5a0b66f3fe5d..b1f25b041f94d 100644 --- a/app-dicts/verbiste/verbiste-0.1.48.ebuild +++ b/app-dicts/verbiste/verbiste-0.1.48.ebuild @@ -12,7 +12,8 @@ SRC_URI="http://sarrazip.com/dev/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~ppc ~riscv ~x86" -IUSE="gtk" +IUSE="gtk test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/libxml2-2.4.0:2 @@ -22,6 +23,10 @@ DEPEND="${RDEPEND}" BDEPEND=" sys-devel/gettext virtual/pkgconfig + test? ( + dev-lang/perl + dev-perl/XML-Parser + ) " src_configure() { @@ -34,6 +39,10 @@ src_configure() { econf "${myeconfargs[@]}" } +src_test() { + emake VERBOSE=1 check +} + src_install() { default From 110a607831ef21af82c02f547cbcf0556d24376c Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 24 Jun 2024 04:13:10 +0100 Subject: [PATCH 5/5] 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 --- .../frozen-bubble-2.2.1_beta1-perl-5.40.patch | 16 ++++++++++++++++ .../frozen-bubble-2.2.1_beta1-r2.ebuild | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-perl-5.40.patch 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 0000000000000..ba22b139e16cf --- /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 3a75e5deb7832..28f22c8bcc996 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() {