libtirpc/012-xp_sock.patch
Marcus Meissner 25987c29d1 Accepting request 315658 from home:kukuk:NIS
- Add 012-xp_sock.patch: add sunrpc compatibility define

- Update 009-authdes_pk_create.patch (fix syncaddr handling)
- Add 011-authdes_create.patch (fix syncaddr handling)

- Add 010-xdr_sizeof.patch (enable xdr_sizeof)

- Add 009-authdes_pk_create.patch (missing SunRPC compat function)

OBS-URL: https://build.opensuse.org/request/show/315658
OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=51
2015-07-10 10:28:23 +00:00

13 lines
343 B
Diff

diff --git a/tirpc/rpc/svc.h b/tirpc/rpc/svc.h
index 8273c95..f647095 100644
--- a/tirpc/rpc/svc.h
+++ b/tirpc/rpc/svc.h
@@ -88,6 +88,7 @@ enum xprt_stat {
*/
typedef struct __rpc_svcxprt {
int xp_fd;
+#define xp_sock xp_fd
u_short xp_port; /* associated port number */
const struct xp_ops {
/* receive incoming requests */