summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-06-04 20:30:07 +0200
committerPacho Ramos <pacho@gentoo.org>2017-06-04 20:31:59 +0200
commit021b4128fab449a793151ee229d692b10ec248bf (patch)
tree411bfbfa6e92018f33aa134510007b3e7ae1b711
parentnet-im/gajim: Version Bump (diff)
downloadgentoo-021b4128fab449a793151ee229d692b10ec248bf.tar.gz
gentoo-021b4128fab449a793151ee229d692b10ec248bf.tar.bz2
gentoo-021b4128fab449a793151ee229d692b10ec248bf.zip
www-apache/mod_auth_kerb: Fix building with heimdal (#327445)
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--www-apache/mod_auth_kerb/files/mod_auth_kerb-5.4-heimdal.patch10
-rw-r--r--www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r2.ebuild3
2 files changed, 12 insertions, 1 deletions
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
index 000000000000..a5d3d4ba62cd
--- /dev/null
+++ b/www-apache/mod_auth_kerb/files/mod_auth_kerb-5.4-heimdal.patch
@@ -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>
diff --git a/www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r2.ebuild b/www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r2.ebuild
index 1b067a4769a0..1d1b560367c0 100644
--- a/www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r2.ebuild
+++ b/www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r2.ebuild
@@ -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() {