aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-07-26 01:40:24 +0800
committersteve <steve@FreeBSD.org>2001-07-26 01:40:24 +0800
commit4f4aad7d77d4c395006fb05f99c83b7ab09e81f9 (patch)
tree0d78fdb5125c6eddbc18e6d7f065996931633c93
parent594ce53e14319b42c60161d943bc4f29fc408179 (diff)
downloadfreebsd-ports-gnome-4f4aad7d77d4c395006fb05f99c83b7ab09e81f9.tar.gz
freebsd-ports-gnome-4f4aad7d77d4c395006fb05f99c83b7ab09e81f9.tar.zst
freebsd-ports-gnome-4f4aad7d77d4c395006fb05f99c83b7ab09e81f9.zip
Don't redeclare (incorrectly) callrpc on FreeBSD/Alpha.
-rw-r--r--sysutils/xsysstats/files/patch-ab12
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 000000000000..244daed74e6d
--- /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)
+ {