www-apache/mod_auth_kerb: Fix building with heimdal (#327445)
authorPacho Ramos <pacho@gentoo.org>
Sun, 4 Jun 2017 18:30:07 +0000 (20:30 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 4 Jun 2017 18:31:59 +0000 (20:31 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

www-apache/mod_auth_kerb/files/mod_auth_kerb-5.4-heimdal.patch [new file with mode: 0644]
www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r2.ebuild

diff --git a/www-apache/mod_auth_kerb/files/mod_auth_kerb-5.4-heimdal.patch b/www-apache/mod_auth_kerb/files/mod_auth_kerb-5.4-heimdal.patch
new file mode 100644 (file)
index 0000000..a5d3d4b
--- /dev/null
@@ -0,0 +1,10 @@
+--- mod_auth_kerb-5.4/src/mod_auth_kerb.c      2010-10-04 16:21:22.169285716 +0200
++++ mod_auth_kerb-5.4.new/src/mod_auth_kerb.c  2010-10-04 16:20:41.584250095 +0200
+@@ -89,6 +89,7 @@
+ #include <krb5.h>
+ #ifdef HEIMDAL
+ #  include <gssapi.h>
++#  include <gssapi/gssapi_krb5.h>
+ #else
+ #  include <gssapi/gssapi.h>
+ #  include <gssapi/gssapi_generic.h>
index 1b067a4769a0149ab36a99236e50661197379f71..1d1b560367c01a2fd26ecaf642b8d465865f223f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -32,6 +32,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-cachedir.patch
        "${FILESDIR}"/${P}-longuser.patch
        "${FILESDIR}"/${P}-handle-continue.patch
+       "${FILESDIR}"/${P}-heimdal.patch
 )
 
 src_prepare() {