commit: 529953360a192b6d34ff867a2856f19d918c1df4 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Nov 3 09:03:09 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Nov 3 09:03:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52995336
app-crypt/gnupg: fix implicit func decl (on musl) for 2.4.6 Closes: https://bugs.gentoo.org/942467 Signed-off-by: Sam James <sam <AT> gentoo.org> app-crypt/gnupg/files/gnupg-2.4.6-c99.patch | 28 ++++++++++++++++++++++ .../{gnupg-2.4.6.ebuild => gnupg-2.4.6-r1.ebuild} | 1 + 2 files changed, 29 insertions(+) diff --git a/app-crypt/gnupg/files/gnupg-2.4.6-c99.patch b/app-crypt/gnupg/files/gnupg-2.4.6-c99.patch new file mode 100644 index 000000000000..35c9b33edd9f --- /dev/null +++ b/app-crypt/gnupg/files/gnupg-2.4.6-c99.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/942467 +https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=c0cb0175c9e6e8d6a3bdd2e40f85fa730fa325af + +From c0cb0175c9e6e8d6a3bdd2e40f85fa730fa325af Mon Sep 17 00:00:00 2001 +From: NIIBE Yutaka <[email protected]> +Date: Tue, 9 Jul 2024 10:48:02 +0900 +Subject: [PATCH] scd: Add <unistd.h> for read(2) / write(2) . + +* scd/app.c: Include <unistd.h>. + +-- + +Reported-by: David Bohman +GnuPG-bug-id: 7193 +Signed-off-by: NIIBE Yutaka <[email protected]> +(cherry picked from commit 1d5cfa9b7fd22e1c46eeed5fa9fed2af6f81d34f) +--- a/scd/app.c ++++ b/scd/app.c +@@ -22,6 +22,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <unistd.h> + #include <npth.h> + + #ifndef HAVE_W32_SYSTEM +-- +2.30.2 diff --git a/app-crypt/gnupg/gnupg-2.4.6.ebuild b/app-crypt/gnupg/gnupg-2.4.6-r1.ebuild similarity index 99% rename from app-crypt/gnupg/gnupg-2.4.6.ebuild rename to app-crypt/gnupg/gnupg-2.4.6-r1.ebuild index efcb0ec1ad03..a9d778121bd4 100644 --- a/app-crypt/gnupg/gnupg-2.4.6.ebuild +++ b/app-crypt/gnupg/gnupg-2.4.6-r1.ebuild @@ -70,6 +70,7 @@ DOCS=( PATCHES=( "${FILESDIR}"/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch "${FILESDIR}"/${PN}-2.4.5-revert-rfc4880bis.patch # bug #926186 + "${FILESDIR}"/${PN}-2.4.6-c99.patch ) src_prepare() {
