diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-03-02 11:06:13 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-03-02 11:06:40 +0100 |
commit | 83e4182537a4a1950cab2da490403c848ebd4edd (patch) | |
tree | 7e32c0b03c2454007b8f1114dbb0e3f58b93e242 /app-crypt/gnupg/files | |
parent | media-video/obs-studio: Version bump to 18.0.0. (diff) | |
download | gentoo-83e4182537a4a1950cab2da490403c848ebd4edd.tar.gz gentoo-83e4182537a4a1950cab2da490403c848ebd4edd.tar.bz2 gentoo-83e4182537a4a1950cab2da490403c848ebd4edd.zip |
app-crypt/gnupg: fix compilation on Solaris
Package-Manager: Portage-2.3.4-prefix, Repoman-2.3.2
Diffstat (limited to 'app-crypt/gnupg/files')
-rw-r--r-- | app-crypt/gnupg/files/gnupg-2.1.19-solaris-ucred.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-crypt/gnupg/files/gnupg-2.1.19-solaris-ucred.patch b/app-crypt/gnupg/files/gnupg-2.1.19-solaris-ucred.patch new file mode 100644 index 000000000000..aefce5e82566 --- /dev/null +++ b/app-crypt/gnupg/files/gnupg-2.1.19-solaris-ucred.patch @@ -0,0 +1,19 @@ +command-ssh: include ucred.h + +In order to use ucred() when HAVE_SO_PEERCRED is defined, ucred.h needs +to be included on Solaris. + +https://bugs.gnupg.org/gnupg/issue2981 + +--- a/agent/command-ssh.c ++++ b/agent/command-ssh.c +@@ -40,6 +40,9 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <assert.h> ++#ifdef HAVE_UCRED_H ++#include <ucred.h> ++#endif + + #include "agent.h" + |