aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5/files
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2005-11-09 02:51:23 +0800
committercy <cy@FreeBSD.org>2005-11-09 02:51:23 +0800
commit799af3cce6587932fb4a82cda692a390370aa22f (patch)
treef48ad664a46923cdad1da219891ff74717481d7c /security/krb5/files
parent8e908e7ec4255281ad7647f94b1386993e3f989a (diff)
downloadfreebsd-ports-gnome-799af3cce6587932fb4a82cda692a390370aa22f.tar.gz
freebsd-ports-gnome-799af3cce6587932fb4a82cda692a390370aa22f.tar.zst
freebsd-ports-gnome-799af3cce6587932fb4a82cda692a390370aa22f.zip
Fix FreeBSD-4.11 build problem
PR: 87888
Diffstat (limited to 'security/krb5/files')
-rw-r--r--security/krb5/files/patch-lib::gssapi::krb5::import_name.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/krb5/files/patch-lib::gssapi::krb5::import_name.c b/security/krb5/files/patch-lib::gssapi::krb5::import_name.c
new file mode 100644
index 000000000000..40f116af2196
--- /dev/null
+++ b/security/krb5/files/patch-lib::gssapi::krb5::import_name.c
@@ -0,0 +1,14 @@
+--- lib/gssapi/krb5/import_name.c.orig Mon Jul 18 15:12:42 2005
++++ lib/gssapi/krb5/import_name.c Tue Nov 8 09:53:58 2005
+@@ -33,6 +33,11 @@
+ #endif
+ #endif
+
++#include <sys/param.h>
++#if __FreeBSD_version < 500100
++#include <stdio.h>
++#endif
++
+ #ifdef HAVE_STRING_H
+ #include <string.h>
+ #else