summaryrefslogtreecommitdiff
path: root/uts
diff options
context:
space:
mode:
Diffstat (limited to 'uts')
-rw-r--r--uts/debian/patches/rpc-rpc-h.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/uts/debian/patches/rpc-rpc-h.patch b/uts/debian/patches/rpc-rpc-h.patch
index 07efa89..be3393f 100644
--- a/uts/debian/patches/rpc-rpc-h.patch
+++ b/uts/debian/patches/rpc-rpc-h.patch
@@ -2,7 +2,7 @@ Index: uts/usr/src/uts/common/rpc/rpc.h
===================================================================
--- uts.orig/usr/src/uts/common/rpc/rpc.h
+++ uts/usr/src/uts/common/rpc/rpc.h
-@@ -63,16 +63,23 @@
+@@ -63,10 +63,8 @@
#include <rpc/auth_sys.h> /* protocol for unix style cred */
#include <rpc/auth_des.h> /* protocol for des style cred */
#include <sys/socket.h> /* generic socket info */
@@ -13,18 +13,17 @@ Index: uts/usr/src/uts/common/rpc/rpc.h
#ifndef _KERNEL
#ifndef _RPCB_PROT_H_RPCGEN /* Don't include before rpcb_prot defined */
- #include <rpc/rpcb_clnt.h> /* rpcbind interface functions */
+@@ -75,4 +73,13 @@
+ #include <rpc/svc_mt.h> /* private server definitions */
#endif
-+#endif
-+
+
+
+// These headers include sys/gssapi.h
+// which causes conflicts with other GSS libraries
+// like heimdal. For example it causes Samba FTBFS.
+#if defined (_KERNEL) || defined (__FULL_RPC_H__)
+#include <rpc/rpcsec_gss.h> /* GSS style security */
- #include <rpc/svc_mt.h> /* private server definitions */
+#include <rpc/svc_auth.h> /* service side authenticator */
- #endif
-
++#endif
++
#endif /* !_RPC_RPC_H */