From af5c72ccd0319187bda6fd117b1a3c87e4e03394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Tue, 22 Sep 2020 11:56:27 +0000 Subject: Fix build with -fno-common While here add a license (extracted from the README file). Redistribution is only allowed free of charge. --- sysutils/xsysstats/files/patch-porting.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sysutils/xsysstats/files/patch-porting.c (limited to 'sysutils/xsysstats/files/patch-porting.c') diff --git a/sysutils/xsysstats/files/patch-porting.c b/sysutils/xsysstats/files/patch-porting.c new file mode 100644 index 000000000000..12270da36a72 --- /dev/null +++ b/sysutils/xsysstats/files/patch-porting.c @@ -0,0 +1,12 @@ +--- porting.c.orig 2000-05-30 06:50:24 UTC ++++ porting.c +@@ -26,6 +26,9 @@ int rstat(char *host, struct statstime *stats) + + #ifdef USE_NEW_RSTAT + #include ++ ++int open_host(struct Host_Info *host); ++ + int + rstat_local(struct Host_Info *host, struct statstime *statval) + { -- cgit v1.2.3