diff options
author | Eray Aslan <eras@gentoo.org> | 2011-11-06 20:13:45 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-11-06 20:13:45 +0000 |
commit | d3d6fec7d698700e7f98ba45e3bfcf6081aa6e07 (patch) | |
tree | b42854d09f522d7a4e8ec7577ab97f5ea2b0b1ab /net-mail/fetchmail | |
parent | remove old (diff) | |
download | gentoo-2-d3d6fec7d698700e7f98ba45e3bfcf6081aa6e07.tar.gz gentoo-2-d3d6fec7d698700e7f98ba45e3bfcf6081aa6e07.tar.bz2 gentoo-2-d3d6fec7d698700e7f98ba45e3bfcf6081aa6e07.zip |
Fix compiling against >=heimdal-1.4 - bug #389347. Thanks to Rafał Mużyło.
(Portage version: 2.1.10.32/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/fetchmail')
-rw-r--r-- | net-mail/fetchmail/ChangeLog | 6 | ||||
-rw-r--r-- | net-mail/fetchmail/fetchmail-6.3.21.ebuild | 6 | ||||
-rw-r--r-- | net-mail/fetchmail/files/fetchmail-gss_c_nt_hostbased_service.patch | 21 |
3 files changed, 30 insertions, 3 deletions
diff --git a/net-mail/fetchmail/ChangeLog b/net-mail/fetchmail/ChangeLog index 497919782b2b..9f96bc758cca 100644 --- a/net-mail/fetchmail/ChangeLog +++ b/net-mail/fetchmail/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-mail/fetchmail # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.223 2011/11/06 20:09:40 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.224 2011/11/06 20:13:45 eras Exp $ + + 06 Nov 2011; Eray Aslan <eras@gentoo.org> fetchmail-6.3.21.ebuild, + +files/fetchmail-gss_c_nt_hostbased_service.patch: + Fix compiling against >=heimdal-1.4 - bug #389347. Thanks to Rafał Mużyło. 06 Nov 2011; Eray Aslan <eras@gentoo.org> -fetchmail-6.3.20.ebuild: remove old diff --git a/net-mail/fetchmail/fetchmail-6.3.21.ebuild b/net-mail/fetchmail/fetchmail-6.3.21.ebuild index 8fd71dacde51..035f608111b6 100644 --- a/net-mail/fetchmail/fetchmail-6.3.21.ebuild +++ b/net-mail/fetchmail/fetchmail-6.3.21.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.21.ebuild,v 1.6 2011/08/27 11:30:50 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.21.ebuild,v 1.7 2011/11/06 20:13:45 eras Exp $ EAPI=3 @@ -8,7 +8,7 @@ PYTHON_DEPEND="tk? 2" PYTHON_USE_WITH_OPT="tk" PYTHON_USE_WITH="tk" -inherit python eutils +inherit python eutils autotools DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" HOMEPAGE="http://fetchmail.berlios.de" @@ -39,6 +39,8 @@ pkg_setup() { } src_prepare() { + epatch "${FILESDIR}/${PN}-gss_c_nt_hostbased_service.patch" + eautoreconf # dont compile during src_install : > "${S}"/py-compile } diff --git a/net-mail/fetchmail/files/fetchmail-gss_c_nt_hostbased_service.patch b/net-mail/fetchmail/files/fetchmail-gss_c_nt_hostbased_service.patch new file mode 100644 index 000000000000..914642ace596 --- /dev/null +++ b/net-mail/fetchmail/files/fetchmail-gss_c_nt_hostbased_service.patch @@ -0,0 +1,21 @@ +Gentoo bug #389347 +--- configure.ac.orig 2011-08-21 13:35:05.000000000 +0000 ++++ configure.ac 2011-11-06 19:46:07.000000000 +0000 +@@ -893,11 +893,12 @@ + CPPFLAGS="$CPPFLAGS -I$with_gssapi/include" + fi + AC_CHECK_HEADERS(gss.h gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h) +- if test "$ac_cv_header_gssapi_h" = "yes"; then +- AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi.h, AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE,1,Define if you have MIT kerberos)) +- else +- AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi/gssapi.h, AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE)) +- fi ++ AC_EGREP_CPP(hostbased_service_gss_nt_yes, gssapi.h, ++ [#include <gssapi.h> ++ #ifdef GSS_C_NT_HOSTBASED_SERVICE ++ hostbased_service_gss_nt_yes ++ #endif], ++ AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE,1,Define if your GSSAPI implemantation defines GSS_C_NT_HOSTBASED_SERVICE)) + fi]) + + dnl ,------------------------------------------------------------------ |