aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-22 13:30:03 +0800
committerpat <pat@FreeBSD.org>2002-01-22 13:30:03 +0800
commite97823ba6b58039b039b724608518af07a3e34c6 (patch)
treeffc9cb7eebab13282803eb6ecf4765acb7402acf /security
parent374d387db96487fbfd1e1ae8e5ae6c6ff8c0e37c (diff)
downloadfreebsd-ports-gnome-e97823ba6b58039b039b724608518af07a3e34c6.tar.gz
freebsd-ports-gnome-e97823ba6b58039b039b724608518af07a3e34c6.tar.zst
freebsd-ports-gnome-e97823ba6b58039b039b724608518af07a3e34c6.zip
Fix build when KRB5_HOME is defined
PR: 34149 Submitted by: maintainer
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl/files/patch-plugins::gssapi.c15
-rw-r--r--security/cyrus-sasl2/files/patch-plugins::gssapi.c15
2 files changed, 30 insertions, 0 deletions
diff --git a/security/cyrus-sasl/files/patch-plugins::gssapi.c b/security/cyrus-sasl/files/patch-plugins::gssapi.c
new file mode 100644
index 000000000000..02273633a299
--- /dev/null
+++ b/security/cyrus-sasl/files/patch-plugins::gssapi.c
@@ -0,0 +1,15 @@
+--- plugins/gssapi.c.orig Fri Mar 9 23:56:46 2001
++++ plugins/gssapi.c Mon Jan 21 21:03:32 2002
+@@ -71,6 +71,12 @@
+ #include <saslutil.h>
+ #include <saslplug.h>
+
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
++#include <errno.h>
++
+ #ifdef WIN32
+ /* This must be after sasl.h */
+ # include "saslgssapi.h"
diff --git a/security/cyrus-sasl2/files/patch-plugins::gssapi.c b/security/cyrus-sasl2/files/patch-plugins::gssapi.c
new file mode 100644
index 000000000000..02273633a299
--- /dev/null
+++ b/security/cyrus-sasl2/files/patch-plugins::gssapi.c
@@ -0,0 +1,15 @@
+--- plugins/gssapi.c.orig Fri Mar 9 23:56:46 2001
++++ plugins/gssapi.c Mon Jan 21 21:03:32 2002
+@@ -71,6 +71,12 @@
+ #include <saslutil.h>
+ #include <saslplug.h>
+
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
++#include <errno.h>
++
+ #ifdef WIN32
+ /* This must be after sasl.h */
+ # include "saslgssapi.h"