summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-01-11 16:08:13 +0000
committerjschauma <jschauma>2004-01-11 16:08:13 +0000
commitcd290e43edbd5a3f6d2f0d456d50349bdb29df9c (patch)
tree136a4cf9f3d1aed4648bd0972c52bcc7618e0696 /net
parent2745fc454d335dd712f44f966c73c2a97e00686c (diff)
downloadpkgsrc-cd290e43edbd5a3f6d2f0d456d50349bdb29df9c.tar.gz
Make this compile with gcc-3; fixes problem seen in last bulk build.
Diffstat (limited to 'net')
-rw-r--r--net/netsaint-plugins/distinfo3
-rw-r--r--net/netsaint-plugins/patches/patch-ac29
2 files changed, 31 insertions, 1 deletions
diff --git a/net/netsaint-plugins/distinfo b/net/netsaint-plugins/distinfo
index 2e25bdd0b49..d310217d542 100644
--- a/net/netsaint-plugins/distinfo
+++ b/net/netsaint-plugins/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2002/10/02 19:58:02 wiz Exp $
+$NetBSD: distinfo,v 1.8 2004/01/11 16:08:13 jschauma Exp $
SHA1 (netsaint-plugins-1.2.9-4.tar.gz) = d4d6a52c0f5ca8470cd9b9ee52d427b2ecf940e6
Size (netsaint-plugins-1.2.9-4.tar.gz) = 352023 bytes
SHA1 (patch-aa) = 209680a6ffc320d1da82135027b9a5bd5d905690
SHA1 (patch-ab) = a2dba2793eb369cbcb77635165f72c719503b5ce
+SHA1 (patch-ac) = c86760de132f6e4995ee04feeaf392214b67f4bf
diff --git a/net/netsaint-plugins/patches/patch-ac b/net/netsaint-plugins/patches/patch-ac
new file mode 100644
index 00000000000..1ef4c404430
--- /dev/null
+++ b/net/netsaint-plugins/patches/patch-ac
@@ -0,0 +1,29 @@
+$NetBSD: patch-ac,v 1.3 2004/01/11 16:08:13 jschauma Exp $
+
+--- ./plugins/check_by_ssh.c.orig 2001-04-23 03:43:11.000000000 -0400
++++ ./plugins/check_by_ssh.c 2004-01-11 11:07:02.000000000 -0500
+@@ -387,13 +387,11 @@
+
+
+
+-#define OPTIONS "\
+--H <host> [-P port] [-f] [-y] [-t timeout] [-i identity]\n
+- [-l user] [-n name] [-s servicelist] [-O outputfile]"
+-
+ void print_usage(void)
+ {
+- printf ("Usage:\n %s %s\n"
++ printf ("Usage:\n %s "
++ "-H <host> [-P port] [-f] [-y] [-t timeout] [-i identity]\n"
++ " [-l user] [-n name] [-s servicelist] [-O outputfile]\n"
+ #ifdef HAVE_GETOPT_H
+ " %s (-h | --help) for detailed help\n"
+ " %s (-V | --version) for version information\n",
+@@ -401,6 +399,6 @@
+ " %s -h for detailed help\n"
+ " %s -V for version information\n",
+ #endif
+- PROGNAME, OPTIONS, PROGNAME, PROGNAME);
++ PROGNAME, PROGNAME, PROGNAME);
+
+ }