From 4f4aad7d77d4c395006fb05f99c83b7ab09e81f9 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 25 Jul 2001 17:40:24 +0000 Subject: Don't redeclare (incorrectly) callrpc on FreeBSD/Alpha. --- sysutils/xsysstats/files/patch-ab | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sysutils/xsysstats/files/patch-ab (limited to 'sysutils/xsysstats') diff --git a/sysutils/xsysstats/files/patch-ab b/sysutils/xsysstats/files/patch-ab new file mode 100644 index 0000000..244daed --- /dev/null +++ b/sysutils/xsysstats/files/patch-ab @@ -0,0 +1,12 @@ +--- porting.c.orig Sun Jul 22 11:19:14 2001 ++++ porting.c Sun Jul 22 11:23:38 2001 +@@ -33,7 +33,9 @@ + #endif + #include + ++#if !defined(__FreeBSD__) || !defined(__alpha__) + extern int callrpc(char *, u_long, u_long, u_long, xdrproc_t, char *, xdrproc_t, char *); ++#endif + + int rstat(char *host, struct statstime *stats) + { -- cgit v1.1