commit: fc32814919e0dadc5a4b32c8134718b7bb8d182b Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> AuthorDate: Thu Oct 23 07:00:14 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Mon Nov 3 05:14:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc328149
app-arch/rpm: fix build with USE=-sequoia Bug: https://github.com/rpm-software-management/rpm/issues/3970 Closes: https://bugs.gentoo.org/965006 Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/44295 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> .../rpm-6.0.0-fix-build-without-sequoia.patch | 22 ++++++++++++++++++++++ app-arch/rpm/rpm-6.0.0.ebuild | 1 + 2 files changed, 23 insertions(+) diff --git a/app-arch/rpm/files/rpm-6.0.0-fix-build-without-sequoia.patch b/app-arch/rpm/files/rpm-6.0.0-fix-build-without-sequoia.patch new file mode 100644 index 000000000000..233c66f6f8d0 --- /dev/null +++ b/app-arch/rpm/files/rpm-6.0.0-fix-build-without-sequoia.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/965006 +https://github.com/rpm-software-management/rpm/commit/aadbe7d611149f583b8b23f1b58a6a0300c02c82 + +From: Panu Matilainen <[email protected]> +Date: Wed, 1 Oct 2025 12:45:40 +0300 +Subject: [PATCH] Fix build regression on WITH_SEQUOIA=OFF + +Commit c36c717f41683953b9c23e447a8df0d0ac7c845c neglected to add the +stub for non-sequoia builds. + +Fixes: #3970 +--- a/rpmio/rpmpgp_dummy.cc ++++ b/rpmio/rpmpgp_dummy.cc +@@ -121,3 +121,8 @@ rpmRC pgpPubkeyMerge(const uint8_t *pkts1, size_t pkts1len, const uint8_t *pkts2 + { + return RPMRC_FAIL; + } ++ ++int pgpDigParamsSalt(pgpDigParams digp, const uint8_t **datap, size_t *lenp) ++{ ++ return -1; ++} diff --git a/app-arch/rpm/rpm-6.0.0.ebuild b/app-arch/rpm/rpm-6.0.0.ebuild index 6111658e7e18..c43b5e5ed0ba 100644 --- a/app-arch/rpm/rpm-6.0.0.ebuild +++ b/app-arch/rpm/rpm-6.0.0.ebuild @@ -64,6 +64,7 @@ PATCHES=( "${FILESDIR}"/${PN}-6.0.0-musl-compat.patch "${FILESDIR}"/${PN}-4.20.0-libdir.patch "${FILESDIR}"/${PN}-6.0.0-no-hardened.patch + "${FILESDIR}"/${PN}-6.0.0-fix-build-without-sequoia.patch ) pkg_pretend() {
