From 50a622c56ae2f7210269138dd917a2e35c2d9909 Mon Sep 17 00:00:00 2001 From: bad Date: Tue, 8 Mar 2005 20:15:14 +0000 Subject: main()'s return type cannot be "void". Bump PKGREVISION. --- www/ns-remote/Makefile | 4 ++-- www/ns-remote/distinfo | 4 ++-- www/ns-remote/patches/patch-aa | 23 ++++++++++++++++------- 3 files changed, 20 insertions(+), 11 deletions(-) (limited to 'www/ns-remote') diff --git a/www/ns-remote/Makefile b/www/ns-remote/Makefile index 3b506322369..2b004068960 100644 --- a/www/ns-remote/Makefile +++ b/www/ns-remote/Makefile @@ -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 --git a/www/ns-remote/distinfo b/www/ns-remote/distinfo index 4f89d034960..337a022697f 100644 --- a/www/ns-remote/distinfo +++ b/www/ns-remote/distinfo @@ -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 @@ Size (netscape/remote.c) = 18579 bytes 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 --git a/www/ns-remote/patches/patch-aa b/www/ns-remote/patches/patch-aa index 244ab752ac9..ca6303e79b9 100644 --- a/www/ns-remote/patches/patch-aa +++ b/www/ns-remote/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/01/12 15:03:43 abs Exp $ 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) -- cgit v1.2.3