commit: 6a5c7161af7208c176924bb37f50f347a7dc9c32
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 17 19:16:51 2025 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Nov 17 19:16:51 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a5c7161
app-crypt/gnupg-2.5.13-r2: fix Solaris build
Incompatible pointer types cause build errors, but they are due to
Solaris using different types than Linux.
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
app-crypt/gnupg/gnupg-2.5.13-r2.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app-crypt/gnupg/gnupg-2.5.13-r2.ebuild
b/app-crypt/gnupg/gnupg-2.5.13-r2.ebuild
index 6bc24b1ece0c..e131ce80996c 100644
--- a/app-crypt/gnupg/gnupg-2.5.13-r2.ebuild
+++ b/app-crypt/gnupg/gnupg-2.5.13-r2.ebuild
@@ -148,8 +148,10 @@ my_src_configure() {
fi
if [[ ${CHOST} == *-solaris* ]] ; then
- # https://dev.gnupg.org/T7368
- export ac_cv_should_define__xopen_source=yes
+ # these somehow are treated as fatal, but Solaris has different
+ # types for getpeername with socket_t
+ append-flags -Wno-incompatible-pointer-types
+ append-flags -Wno-unused-label
fi
# bug #663142