Files
pkgsrc-ng/net/nasd/patches/patch-bh
2013-09-26 17:14:40 +02:00

33 lines
1.0 KiB
Plaintext

$NetBSD: patch-bh,v 1.1.1.1 2005/05/04 08:56:50 agc Exp $
Index: include/nasd/nasd_rpcgen_c.h
===================================================================
RCS file: /usr/cvsroot/nasd/nasd-1.3/include/nasd/nasd_rpcgen_c.h,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -u -r1.1.1.1 -r1.3
--- include/nasd/nasd_rpcgen_c.h 21 Mar 2005 08:52:02 -0000 1.1.1.1
+++ include/nasd/nasd_rpcgen_c.h 21 Mar 2005 17:07:28 -0000 1.3
@@ -101,6 +101,21 @@
typedef unusitll nasd_rpcgen_uint64;
#endif /* FREEBSD */
+#ifdef NETBSD
+#include <sys/types.h>
+#define NASD_CPP_LOC "/usr/bin/cpp"
+typedef int8_t nasd_rpcgen_int8;
+typedef uint8_t nasd_rpcgen_uint8;
+typedef int16_t nasd_rpcgen_int16;
+typedef uint16_t nasd_rpcgen_uint16;
+typedef int32_t nasd_rpcgen_int32;
+typedef uint32_t nasd_rpcgen_uint32;
+typedef int64_t usitll;
+typedef uint64_t unusitll;
+typedef usitll nasd_rpcgen_int64;
+typedef unusitll nasd_rpcgen_uint64;
+#endif
+
#ifndef _NASD_SRPC_GENTYPE_DEFINED
typedef void *nasd_srpc_handle_t;