pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xevil C++ is not K&R C, so give main the return ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ce32deb0c6c
branches:  trunk
changeset: 610482:0ce32deb0c6c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Oct 26 20:21:33 2012 +0000

description:
C++ is not K&R C, so give main the return type it is supposed to have.

diffstat:

 games/xevil/distinfo         |   4 ++--
 games/xevil/patches/patch-at |  11 ++++++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r ade626a9d216 -r 0ce32deb0c6c games/xevil/distinfo
--- a/games/xevil/distinfo      Fri Oct 26 20:19:40 2012 +0000
+++ b/games/xevil/distinfo      Fri Oct 26 20:21:33 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2011/11/27 19:43:33 joerg Exp $
+$NetBSD: distinfo,v 1.9 2012/10/26 20:21:33 joerg Exp $
 
 SHA1 (xevilsrc2.02r2.zip) = e9a262daffc7ee5c06196dc94cf35c199be86bbc
 RMD160 (xevilsrc2.02r2.zip) = dca82298ac2dfe66e4e92a02731bb6851563b67e
@@ -21,7 +21,7 @@
 SHA1 (patch-aq) = 2a781bd3118bda38244f7b7a0bb1a202a90c3983
 SHA1 (patch-ar) = 8be1ce3f1ed2bd55dfc77042fa5f62fc6b036903
 SHA1 (patch-as) = 4c4e4ef0e626b8f04a120c996ec155cacf0c0ddf
-SHA1 (patch-at) = 79eeea82adaa8727cb5104068168cd9c0ffff621
+SHA1 (patch-at) = 6344907d83f7e6ee426e60970de88a0dc1686f48
 SHA1 (patch-au) = f1092ff4228d4bb6f13e6aeb0ea70a5b4b9635b6
 SHA1 (patch-cmn_game.h) = 47db702d729158290118cf75a0c437362f9af1c3
 SHA1 (patch-cmn_streams.cpp) = bb32e15807cc5ff2289df2e1dc1c1661c8949ad4
diff -r ade626a9d216 -r 0ce32deb0c6c games/xevil/patches/patch-at
--- a/games/xevil/patches/patch-at      Fri Oct 26 20:19:40 2012 +0000
+++ b/games/xevil/patches/patch-at      Fri Oct 26 20:21:33 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-at,v 1.2 2011/11/27 19:43:33 joerg Exp $
+$NetBSD: patch-at,v 1.3 2012/10/26 20:21:33 joerg Exp $
 
 --- x11/serverping.cpp.orig    2003-03-22 21:55:12.000000000 +0000
 +++ x11/serverping.cpp
@@ -14,3 +14,12 @@
  #include "utils.h"
  #include "streams.h"
  #include "xetp_basic.h"
+@@ -355,7 +356,7 @@ void ServerPing::print_results_and_exit(
+ 
+ 
+ 
+-main(int argc,char** argv) {
++int main(int argc,char** argv) {
+   ServerPing ping(argc,argv);
+   ping.go();
+ }



Home | Main Index | Thread Index | Old Index