diff options
-rw-r--r-- | app-crypt/gnupg/gnupg-2.4.5-r2.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app-crypt/gnupg/gnupg-2.4.5-r2.ebuild b/app-crypt/gnupg/gnupg-2.4.5-r2.ebuild index 5b2191cfb0b7..5b6cf6eaca80 100644 --- a/app-crypt/gnupg/gnupg-2.4.5-r2.ebuild +++ b/app-crypt/gnupg/gnupg-2.4.5-r2.ebuild @@ -95,6 +95,10 @@ src_prepare() { # which in turn requires discovery in Autoconf, something that upstream deeply resents. sed -e "/DirectoryMode=/a ExecStartPost=-${EPREFIX}/bin/systemctl --user set-environment SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh" \ -i "${T}"/gpg-agent-ssh.socket || die + + # definition of getpeername etc uses different things like socket_fd_t + [[ ${CHOST} == *-solaris* ]] && + append-cflags $(test-flags-CC -Wno-incompatible-pointer-types) } my_src_configure() { |