diff options
author | Eray Aslan <eras@gentoo.org> | 2011-11-02 08:35:31 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-11-02 08:35:31 +0000 |
commit | b057c1e0c1161a72f3a7a766138be35b91f8a42d (patch) | |
tree | 7c4b8a4e64047ed384b901f306db96bc867582e1 /net-libs/libgsasl/files | |
parent | Version bump mercurial to 2.0. (diff) | |
download | gentoo-2-b057c1e0c1161a72f3a7a766138be35b91f8a42d.tar.gz gentoo-2-b057c1e0c1161a72f3a7a766138be35b91f8a42d.tar.bz2 gentoo-2-b057c1e0c1161a72f3a7a766138be35b91f8a42d.zip |
Fix compiling against heimdal - bug #359005. Thanks to Torsten Kurbad
(Portage version: 2.1.10.32/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libgsasl/files')
-rw-r--r-- | net-libs/libgsasl/files/libgsasl-gss-extra.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-libs/libgsasl/files/libgsasl-gss-extra.patch b/net-libs/libgsasl/files/libgsasl-gss-extra.patch new file mode 100644 index 000000000000..d3907be85554 --- /dev/null +++ b/net-libs/libgsasl/files/libgsasl-gss-extra.patch @@ -0,0 +1,20 @@ +Gentoo bug #359009 + +--- libgsasl-1.6.0/gl/gss-extra.c.orig 2011-03-15 18:08:06.534086334 +0100 ++++ libgsasl-1.6.0/gl/gss-extra.c 2011-03-15 18:08:50.114086334 +0100 +@@ -33,6 +33,7 @@ + /* Get malloc, free. */ + #include <stdlib.h> + ++#if (defined _WIN32 || defined __WIN32__) + #ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE + + /* MIT Kerberos for Windows version 3.2.2 lacks this. */ +@@ -43,6 +44,7 @@ + gss_OID GSS_C_NT_HOSTBASED_SERVICE = &tmp; + + #endif ++#endif + + #ifndef HAVE_GSS_OID_EQUAL + |