summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/amanda-common/distinfo5
-rw-r--r--sysutils/amanda-common/patches/patch-ndmp-src_ndmp2__xdr.c21
-rw-r--r--sysutils/amanda-common/patches/patch-ndmp-src_ndmp3__xdr.c21
-rw-r--r--sysutils/amanda-common/patches/patch-ndmp-src_ndmp4__xdr.c21
4 files changed, 67 insertions, 1 deletions
diff --git a/sysutils/amanda-common/distinfo b/sysutils/amanda-common/distinfo
index 7fc889280a5..8369581dbab 100644
--- a/sysutils/amanda-common/distinfo
+++ b/sysutils/amanda-common/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2014/01/06 22:15:06 joerg Exp $
+$NetBSD: distinfo,v 1.15 2014/07/28 15:53:44 jperkin Exp $
SHA1 (amanda-3.3.1.tar.gz) = 22273381f61319e46e1da9d7029ca2b3991eee98
RMD160 (amanda-3.3.1.tar.gz) = 0d66ad25fd905901a1afd3651bd6c1e00db9af8d
@@ -18,6 +18,9 @@ SHA1 (patch-config_amanda_krb5-security.m4) = c82af0e106e49b59994b40f12ed5b1c165
SHA1 (patch-config_macro-archive_xsltproc.m4) = 20324db1ce3db016fa89fe39df5a8133c7766693
SHA1 (patch-device-src_Makefile.am) = 29fd554033ff0ff7b1d98a08306f157ced7324c5
SHA1 (patch-example_Makefile.am) = 8d2dac1abdc473fbf94489bcb620a42a665fd27a
+SHA1 (patch-ndmp-src_ndmp2__xdr.c) = 9ae6d78c2192ece83a1aa141cb04c9761969ca5b
+SHA1 (patch-ndmp-src_ndmp3__xdr.c) = a080c7337ede4fe75f9735fb3355d0aa16b0af6c
+SHA1 (patch-ndmp-src_ndmp4__xdr.c) = 339b0d539754127446acf6456fb385f00b1fbcc3
SHA1 (patch-oldrecover-src_Makefile.am) = 9127c1523937da3955662cc0b0921d05bca75248
SHA1 (patch-perl_Amanda_Xfer.pm) = 7389672ce0ed08d8b5f6548a6bb466ef4e18ab1d
SHA1 (patch-perl_Makefile.am) = 7b09e5cc30c9b441dae03b06bef5c757c93ff9f7
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
diff --git a/sysutils/amanda-common/patches/patch-ndmp-src_ndmp3__xdr.c b/sysutils/amanda-common/patches/patch-ndmp-src_ndmp3__xdr.c
new file mode 100644
index 00000000000..56e571115b6
--- /dev/null
+++ b/sysutils/amanda-common/patches/patch-ndmp-src_ndmp3__xdr.c
@@ -0,0 +1,21 @@
+$NetBSD: patch-ndmp-src_ndmp3__xdr.c,v 1.1 2014/07/28 15:53:44 jperkin Exp $
+
+Compat for SunOS 64-bit.
+
+--- ndmp-src/ndmp3_xdr.c.orig 2012-02-21 11:38:58.000000000 +0000
++++ ndmp-src/ndmp3_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 "ndmp3.h"
+ #ifndef NDMOS_OPTION_NO_NDMP3
+ #define ndmp3_u_quad unsigned long long
diff --git a/sysutils/amanda-common/patches/patch-ndmp-src_ndmp4__xdr.c b/sysutils/amanda-common/patches/patch-ndmp-src_ndmp4__xdr.c
new file mode 100644
index 00000000000..11d4ce77dad
--- /dev/null
+++ b/sysutils/amanda-common/patches/patch-ndmp-src_ndmp4__xdr.c
@@ -0,0 +1,21 @@
+$NetBSD: patch-ndmp-src_ndmp4__xdr.c,v 1.1 2014/07/28 15:53:44 jperkin Exp $
+
+Compat for SunOS 64-bit.
+
+--- ndmp-src/ndmp4_xdr.c.orig 2012-02-21 11:38:58.000000000 +0000
++++ ndmp-src/ndmp4_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 "ndmp4.h"
+ #ifndef NDMOS_OPTION_NO_NDMP4
+ #define ndmp4_u_quad unsigned long long