summaryrefslogtreecommitdiff
path: root/games/xkobo
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-03-16 20:17:50 +0000
committerrillig <rillig@pkgsrc.org>2005-03-16 20:17:50 +0000
commit8e12fd954f8ffc77886ddb5adec5c116dd747382 (patch)
treef61c9e7ec692fee0ae5cda6e3b1eb3970d426237 /games/xkobo
parent123dd5bc2d9df0491dbacdf0d99bd7d2fa03e459 (diff)
downloadpkgsrc-8e12fd954f8ffc77886ddb5adec5c116dd747382.tar.gz
Fixed the type of the signal handler in xkobo.C. Fixes pr#29495.
Approved by wiz.
Diffstat (limited to 'games/xkobo')
-rw-r--r--games/xkobo/distinfo4
-rw-r--r--games/xkobo/patches/patch-ad18
2 files changed, 11 insertions, 11 deletions
diff --git a/games/xkobo/distinfo b/games/xkobo/distinfo
index 9530af74da7..02b6b071aec 100644
--- a/games/xkobo/distinfo
+++ b/games/xkobo/distinfo
@@ -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 @@ Size (xkobo-1.11.tar.gz) = 71804 bytes
SHA1 (patch-aa) = cef11d9aed457e7f378a995026be5a3c13e2cfce
SHA1 (patch-ab) = 917df924b7bba819ff90859b3cac302aec055289
SHA1 (patch-ac) = 59794fcdf0b6af8076e0309fdfb0449b35441ea6
-SHA1 (patch-ad) = ecdc81822d485762cbfac070df7af3952d0af9ed
+SHA1 (patch-ad) = 4eb1844d7a2d233806e09bc3c68faafd588fb820
diff --git a/games/xkobo/patches/patch-ad b/games/xkobo/patches/patch-ad
index 85ce0eb4afb..9c5e4ef6afd 100644
--- a/games/xkobo/patches/patch-ad
+++ b/games/xkobo/patches/patch-ad
@@ -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;
}