diff options
author | steve <steve@FreeBSD.org> | 2001-07-25 17:40:24 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2001-07-25 17:40:24 +0000 |
commit | 4f4aad7d77d4c395006fb05f99c83b7ab09e81f9 (patch) | |
tree | 0d78fdb5125c6eddbc18e6d7f065996931633c93 /sysutils/xsysstats | |
parent | 594ce53e14319b42c60161d943bc4f29fc408179 (diff) | |
download | FreeBSD-ports-4f4aad7d77d4c395006fb05f99c83b7ab09e81f9.zip FreeBSD-ports-4f4aad7d77d4c395006fb05f99c83b7ab09e81f9.tar.gz |
Don't redeclare (incorrectly) callrpc on FreeBSD/Alpha.
Diffstat (limited to 'sysutils/xsysstats')
-rw-r--r-- | sysutils/xsysstats/files/patch-ab | 12 |
1 files changed, 12 insertions, 0 deletions
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 <rpcsvc/rstat.h> + ++#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) + { |