pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/netsaint-plugins Make this compile with gcc-3; fix...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26a9421eb2bd
branches:  trunk
changeset: 466093:26a9421eb2bd
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sun Jan 11 16:08:13 2004 +0000

description:
Make this compile with gcc-3; fixes problem seen in last bulk build.

diffstat:

 net/netsaint-plugins/distinfo         |   3 ++-
 net/netsaint-plugins/patches/patch-ac |  29 +++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 59bd8081171c -r 26a9421eb2bd net/netsaint-plugins/distinfo
--- a/net/netsaint-plugins/distinfo     Sun Jan 11 15:58:45 2004 +0000
+++ b/net/netsaint-plugins/distinfo     Sun Jan 11 16:08:13 2004 +0000
@@ -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 -r 59bd8081171c -r 26a9421eb2bd net/netsaint-plugins/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netsaint-plugins/patches/patch-ac     Sun Jan 11 16:08:13 2004 +0000
@@ -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);
+ 
+ }



Home | Main Index | Thread Index | Old Index