From e668811bdcb58267414b9dc8a205fb1df21eea68 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 11 Jan 2015 20:13:07 +0300 Subject: rpc/svc_mt.h should not be included for kernel (missing synch.h) --- uts/debian/patches/rpc-rpc-h.patch | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'uts') 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 /* protocol for unix style cred */ #include /* protocol for des style cred */ #include /* 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 /* rpcbind interface functions */ +@@ -75,4 +73,13 @@ + #include /* 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 /* GSS style security */ - #include /* private server definitions */ +#include /* service side authenticator */ - #endif - ++#endif ++ #endif /* !_RPC_RPC_H */ -- cgit v1.2.3