pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ns-remote main()'s return type cannot be "void".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a76d1271dbaf
branches:  trunk
changeset: 490404:a76d1271dbaf
user:      bad <bad%pkgsrc.org@localhost>
date:      Tue Mar 08 20:15:14 2005 +0000

description:
main()'s return type cannot be "void".
Bump PKGREVISION.

diffstat:

 www/ns-remote/Makefile         |   4 ++--
 www/ns-remote/distinfo         |   4 ++--
 www/ns-remote/patches/patch-aa |  23 ++++++++++++++++-------
 3 files changed, 20 insertions(+), 11 deletions(-)

diffs (73 lines):

diff -r 1febc508e8c6 -r a76d1271dbaf www/ns-remote/Makefile
--- a/www/ns-remote/Makefile    Tue Mar 08 18:51:06 2005 +0000
+++ b/www/ns-remote/Makefile    Tue Mar 08 20:15:14 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2004/04/30 05:26:00 snj Exp $
+# $NetBSD: Makefile,v 1.22 2005/03/08 20:15:14 bad Exp $
 
 DISTNAME=      ns-remote
 PKGNAME=       ns-remote-1.9
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 MASTER_SITES=  http://home.netscape.com/newsref/std/
 DISTFILES=     remote.c vroot.h
diff -r 1febc508e8c6 -r a76d1271dbaf www/ns-remote/distinfo
--- a/www/ns-remote/distinfo    Tue Mar 08 18:51:06 2005 +0000
+++ b/www/ns-remote/distinfo    Tue Mar 08 20:15:14 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 14:08:34 wiz Exp $
+$NetBSD: distinfo,v 1.4 2005/03/08 20:15:14 bad Exp $
 
 SHA1 (netscape/remote.c) = 7473c12d03ecc24b3a2e6af95b5154802117b793
 RMD160 (netscape/remote.c) = d89e8aaa497f88452760033a640653ab582a86e9
@@ -6,4 +6,4 @@
 SHA1 (netscape/vroot.h) = 3713a3021ee940b7a642478f91e0348524da22d9
 RMD160 (netscape/vroot.h) = afff0788fa6f0e15d96bb526fea4fa7025ff4135
 Size (netscape/vroot.h) = 4930 bytes
-SHA1 (patch-aa) = d524df2b83bdd29bad1ed4a312eb46247321b7c0
+SHA1 (patch-aa) = fb107b802ac690b86d90e4d566d18e8747a00295
diff -r 1febc508e8c6 -r a76d1271dbaf www/ns-remote/patches/patch-aa
--- a/www/ns-remote/patches/patch-aa    Tue Mar 08 18:51:06 2005 +0000
+++ b/www/ns-remote/patches/patch-aa    Tue Mar 08 20:15:14 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/01/12 15:03:43 abs Exp $
+$NetBSD: patch-aa,v 1.2 2005/03/08 20:15:14 bad Exp $
 
---- remote.c.orig      Mon Jan 10 20:59:24 2000
-+++ remote.c   Mon Jan 10 21:41:58 2000
+--- remote.c.orig      2005-03-08 21:09:05.000000000 +0100
++++ remote.c   2005-03-08 21:09:34.000000000 +0100
 @@ -118,8 +118,12 @@
                                       &version);
        if (! version)
@@ -42,16 +42,25 @@
        XFree (tenative_version);
        return tenative;
      }
-@@ -675,6 +683,12 @@
-             exit (-1);
+@@ -566,7 +574,7 @@
+ }
+ 
+ 
+-void
++int
+ main (int argc, char **argv)
+ {
+   Display *dpy;
+@@ -676,6 +684,12 @@
            }
        }
-+    }
+     }
 +  if (! remote_commands)
 +    {
 +    fprintf (stderr, "%s: No valid commands given\n", progname);
 +    usage ();
 +    exit (-1);
-     }
++    }
  
    dpy = XOpenDisplay (dpy_string);
+   if (! dpy)



Home | Main Index | Thread Index | Old Index