diff options
Diffstat (limited to 'sysutils/amanda-common/patches/patch-ndmp-src_ndmp2__xdr.c')
-rw-r--r-- | sysutils/amanda-common/patches/patch-ndmp-src_ndmp2__xdr.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/amanda-common/patches/patch-ndmp-src_ndmp2__xdr.c b/sysutils/amanda-common/patches/patch-ndmp-src_ndmp2__xdr.c new file mode 100644 index 00000000000..4613a629fb5 --- /dev/null +++ b/sysutils/amanda-common/patches/patch-ndmp-src_ndmp2__xdr.c @@ -0,0 +1,21 @@ +$NetBSD: patch-ndmp-src_ndmp2__xdr.c,v 1.1 2014/07/28 15:53:44 jperkin Exp $ + +Compat for SunOS 64-bit. + +--- ndmp-src/ndmp2_xdr.c.orig 2012-02-21 11:38:58.000000000 +0000 ++++ ndmp-src/ndmp2_xdr.c +@@ -3,6 +3,14 @@ + * It was generated using rpcgen. + */ + ++#ifdef __sun ++#ifndef IXDR_PUT_U_LONG ++#define IXDR_PUT_U_LONG IXDR_PUT_U_INT32 ++#endif ++#ifndef IXDR_GET_U_LONG ++#define IXDR_GET_U_LONG IXDR_GET_U_INT32 ++#endif ++#endif + #include "ndmp2.h" + #ifndef NDMOS_OPTION_NO_NDMP2 + #define ndmp2_u_quad unsigned long long |