summaryrefslogtreecommitdiff
path: root/games/xkobo/patches
diff options
context:
space:
mode:
authorrillig <rillig>2005-03-16 20:17:50 +0000
committerrillig <rillig>2005-03-16 20:17:50 +0000
commitcf42355b35b33d28a8cbd28b6fdff95041622dc7 (patch)
treef61c9e7ec692fee0ae5cda6e3b1eb3970d426237 /games/xkobo/patches
parentaf0dcb5838f524ecb270e3c7187c7b9fafab9af9 (diff)
downloadpkgsrc-cf42355b35b33d28a8cbd28b6fdff95041622dc7.tar.gz
Fixed the type of the signal handler in xkobo.C. Fixes pr#29495.
Approved by wiz.
Diffstat (limited to 'games/xkobo/patches')
-rw-r--r--games/xkobo/patches/patch-ad18
1 files changed, 9 insertions, 9 deletions
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;
}