summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-11-16 00:50:13 +0000
committerjoerg <joerg@pkgsrc.org>2012-11-16 00:50:13 +0000
commit5e15ffa23c2d92352efe18d17135bc4092490296 (patch)
treed34565ef249ca0281ca24508dbfe5570bc51267b /games
parent952cd6306e4957589288bccda742383d2a19af99 (diff)
downloadpkgsrc-5e15ffa23c2d92352efe18d17135bc4092490296.tar.gz
Don't redeclare a variable, use the existing one. Bump revision.
Diffstat (limited to 'games')
-rw-r--r--games/kajaani-kombat/Makefile4
-rw-r--r--games/kajaani-kombat/distinfo3
-rw-r--r--games/kajaani-kombat/patches/patch-client__net.cpp13
3 files changed, 17 insertions, 3 deletions
diff --git a/games/kajaani-kombat/Makefile b/games/kajaani-kombat/Makefile
index 632f4ffbc06..37777f1c3bd 100644
--- a/games/kajaani-kombat/Makefile
+++ b/games/kajaani-kombat/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2012/10/06 11:54:44 asau Exp $
+# $NetBSD: Makefile,v 1.22 2012/11/16 00:50:13 joerg Exp $
#
DISTNAME= kajaani-kombat-0.7
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= games
MASTER_SITES= http://kombat.kajaani.net/dl/
diff --git a/games/kajaani-kombat/distinfo b/games/kajaani-kombat/distinfo
index 1cd0cbcf792..ffbfe16ea5c 100644
--- a/games/kajaani-kombat/distinfo
+++ b/games/kajaani-kombat/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2006/08/07 19:35:06 wiz Exp $
+$NetBSD: distinfo,v 1.4 2012/11/16 00:50:13 joerg Exp $
SHA1 (kajaani-kombat-0.7.tar.gz) = a6aa674591fef6445c1dbdba446773e9e3d91c8c
RMD160 (kajaani-kombat-0.7.tar.gz) = 0f932876dfe5f9f32d9889f0b1720dd9b570b8e2
Size (kajaani-kombat-0.7.tar.gz) = 1805504 bytes
SHA1 (patch-aa) = bc1ec637e480db4ec499b51d9bd9fabd951b1048
+SHA1 (patch-client__net.cpp) = 547692aff95f540c91ca5ab9602c03f05ceb7557
diff --git a/games/kajaani-kombat/patches/patch-client__net.cpp b/games/kajaani-kombat/patches/patch-client__net.cpp
new file mode 100644
index 00000000000..77bda552599
--- /dev/null
+++ b/games/kajaani-kombat/patches/patch-client__net.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-client__net.cpp,v 1.1 2012/11/16 00:50:13 joerg Exp $
+
+--- client_net.cpp.orig 2012-11-15 15:37:19.000000000 +0000
++++ client_net.cpp
+@@ -192,7 +192,7 @@ int client_tcpnet::input_func(void *data
+ if (SDLNet_SocketReady(cl->socket) == 0) continue;
+ msg *m = 0;
+ try {
+- msg *m = msg::recv(cl->socket);
++ m = msg::recv(cl->socket);
+ cl->in.push(m);
+ }
+ catch (string &s)