pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xkobo Fixed the type of the signal handler in xk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c18e8b741a60
branches:  trunk
changeset: 490641:c18e8b741a60
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Mar 16 20:17:50 2005 +0000

description:
Fixed the type of the signal handler in xkobo.C. Fixes pr#29495.
Approved by wiz.

diffstat:

 games/xkobo/distinfo         |   4 ++--
 games/xkobo/patches/patch-ad |  18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

diffs (44 lines):

diff -r a1a4b166ca7e -r c18e8b741a60 games/xkobo/distinfo
--- a/games/xkobo/distinfo      Wed Mar 16 20:10:56 2005 +0000
+++ b/games/xkobo/distinfo      Wed Mar 16 20:17:50 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 23:12:04 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/03/16 20:17:50 rillig Exp $
 
 SHA1 (xkobo-1.11.tar.gz) = 6ac1c0fe86b7fa524eb86f40b89e86ee6cbe3c5d
 RMD160 (xkobo-1.11.tar.gz) = 874ed89a6ed7da56f41b3867cf2cc45f0bcf9683
@@ -6,4 +6,4 @@
 SHA1 (patch-aa) = cef11d9aed457e7f378a995026be5a3c13e2cfce
 SHA1 (patch-ab) = 917df924b7bba819ff90859b3cac302aec055289
 SHA1 (patch-ac) = 59794fcdf0b6af8076e0309fdfb0449b35441ea6
-SHA1 (patch-ad) = ecdc81822d485762cbfac070df7af3952d0af9ed
+SHA1 (patch-ad) = 4eb1844d7a2d233806e09bc3c68faafd588fb820
diff -r a1a4b166ca7e -r c18e8b741a60 games/xkobo/patches/patch-ad
--- a/games/xkobo/patches/patch-ad      Wed Mar 16 20:10:56 2005 +0000
+++ b/games/xkobo/patches/patch-ad      Wed Mar 16 20:17:50 2005 +0000
@@ -1,16 +1,16 @@
-$NetBSD: patch-ad,v 1.1 2004/05/27 21:59:56 hubertf Exp $
+$NetBSD: patch-ad,v 1.2 2005/03/16 20:17:50 rillig Exp $
 
---- xkobo.C.orig       1996-06-14 19:27:27.000000000 +0200
-+++ xkobo.C
-@@ -51,7 +51,11 @@ int             cheat_mode;
+Probably the (...) meant: I don't use the arguments. But c++-2.95.3
+complained about the wrong function type.
+
+--- xkobo.C.orig       Fri Jun 14 19:27:27 1996
++++ xkobo.C    Wed Mar 16 20:58:07 2005
+@@ -51,7 +51,7 @@ int             cheat_mode;
  
  static int      signal_delivered = 1;
  
-+#ifdef __NetBSD__
-+static void sig_handle(int sig)
-+#else
- static void sig_handle(...)
-+#endif
+-static void sig_handle(...)
++static void sig_handle(int)
  {
      signal_delivered = 1;
  }



Home | Main Index | Thread Index | Old Index