summaryrefslogtreecommitdiff
path: root/games/koth
diff options
context:
space:
mode:
authorjoerg <joerg>2006-03-29 22:38:30 +0000
committerjoerg <joerg>2006-03-29 22:38:30 +0000
commitc251991fe25e53882b419814f077148b590929f9 (patch)
tree029849b623f7d38383e4279fc97cb8e20873e1c1 /games/koth
parent73c83917523c92966b1c47306ce776c04cad53d8 (diff)
downloadpkgsrc-c251991fe25e53882b419814f077148b590929f9.tar.gz
libggi is a threaded library, so enforce thread linkage. Otherwise
configure bails out e.g. on DragonFly, since the linkage test fails. Fix GCC 3.4+: label at end of compound statement.
Diffstat (limited to 'games/koth')
-rw-r--r--games/koth/Makefile4
-rw-r--r--games/koth/distinfo4
-rw-r--r--games/koth/patches/patch-aa12
-rw-r--r--games/koth/patches/patch-ac20
4 files changed, 38 insertions, 2 deletions
diff --git a/games/koth/Makefile b/games/koth/Makefile
index c4871eebc9e..b7b27d4fa64 100644
--- a/games/koth/Makefile
+++ b/games/koth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/03/04 21:29:42 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2006/03/29 22:38:30 joerg Exp $
#
DISTNAME= koth-0.8.0
@@ -11,6 +11,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.nongnu.org/koth/
COMMENT= The classic "shoot the other tank" artillery game, networked
+PTHREAD_AUTO_VARS= yes
GNU_CONFIGURE= YES
CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR:Q}\""
@@ -25,5 +26,6 @@ post-install:
.include "../../graphics/libggi/buildlink3.mk"
.include "../../graphics/libgii/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/koth/distinfo b/games/koth/distinfo
index 5be3e782997..716ac18fa48 100644
--- a/games/koth/distinfo
+++ b/games/koth/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:12:00 agc Exp $
+$NetBSD: distinfo,v 1.7 2006/03/29 22:38:30 joerg Exp $
SHA1 (koth-0.8.0.tar.bz2) = 6cb04ae1f09c4fb521fb47465ab91a1d67986c41
RMD160 (koth-0.8.0.tar.bz2) = 3ea8ef52cab309a764e0379031606d2a949e6553
Size (koth-0.8.0.tar.bz2) = 140569 bytes
+SHA1 (patch-aa) = 74119d2ff66b3187c16e625abab7972cb686d484
SHA1 (patch-ab) = 69ce8862b3cdba97f3a4040b0004254b89de3606
+SHA1 (patch-ac) = b02bae2f24776c0b1f0778e2ac8d0c9a76711173
diff --git a/games/koth/patches/patch-aa b/games/koth/patches/patch-aa
new file mode 100644
index 00000000000..8d3a54e2259
--- /dev/null
+++ b/games/koth/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.3 2006/03/29 22:38:30 joerg Exp $
+
+--- src/relay.c.orig 2006-03-29 20:50:19.000000000 +0000
++++ src/relay.c
+@@ -260,6 +260,7 @@ void rlMain(Relay_rl * rl, struct timeva
+ else goto bail;
+ goto nextpkt;
+ bail:
++ ;
+ }
+ }
+ }
diff --git a/games/koth/patches/patch-ac b/games/koth/patches/patch-ac
new file mode 100644
index 00000000000..578c29910a2
--- /dev/null
+++ b/games/koth/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.3 2006/03/29 22:38:30 joerg Exp $
+
+--- src/ballistics.c.orig 2006-03-29 20:56:34.000000000 +0000
++++ src/ballistics.c
+@@ -92,6 +92,7 @@ void balSetWall()
+ break;
+ case WALL_LAST:
+ /* just to satisfy gcc -Wall */
++ break;
+ }
+ }
+
+@@ -210,6 +211,7 @@ Shellstat_bal balEnvironmentAdjustProjPo
+ break;
+ case WALL_RANDOM: /* both of this can't happen, */
+ case WALL_LAST: /* so they are here to satisfy gcc -Wall */
++ break;
+
+ }
+ }