Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-06-24 03:18:54 +00:00
8 changed files with 82 additions and 4 deletions
@@ -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 <gniibe@fsij.org>
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 <gniibe@fsij.org>
--- 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
@@ -58,6 +58,9 @@ src_prepare() {
unset FLTK_CONFIG
# bug #934771
rm m4/libassuan.m4 || die
eautoreconf
}
@@ -59,6 +59,9 @@ src_prepare() {
unset FLTK_CONFIG
# bug #934771
rm m4/libassuan.m4 || die
eautoreconf
}
+10 -1
View File
@@ -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
+1 -1
View File
@@ -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="
+1 -1
View File
@@ -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
@@ -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;
@@ -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() {