Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
King of the Hill, KOTH, is an artillery game in the grand old
tradition of little tanks with ridiculously powerful weapons trying to
blow each other up while trying to avoid getting blown up themselves.
The story above is just one possible justification for why a bunch of
tanks would be up in the mountains shooting at each other. Feel free
to make up your own, or simply enjoy the game.
+31
View File
@@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.25 2012/10/06 11:54:45 asau Exp $
#
DISTNAME= koth-0.8.0
PKGREVISION= 5
CATEGORIES= games
MASTER_SITES= http://www.ibiblio.org/pub/Linux/games/multiplayer/
EXTRACT_SUFX= .tar.bz2
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}\""
EGDIR= ${PREFIX}/share/examples/koth
CONF_FILES= ${EGDIR}/koth.cfg ${PKG_SYSCONFDIR}/koth.cfg
INSTALLATION_DIRS+= share/doc/koth ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/koth
${INSTALL_DATA} ${WRKSRC}/src/koth.cfg ${DESTDIR}${EGDIR}
.include "../../graphics/libggi/buildlink3.mk"
.include "../../graphics/libgii/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+11
View File
@@ -0,0 +1,11 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:56:50 joerg Exp $
bin/kclever-ai
bin/kmoron-ai
bin/koth
bin/koths
man/man6/kclever-ai.6
man/man6/kmoron-ai.6
man/man6/koth.6
man/man6/koths.6
share/doc/koth/README
share/examples/koth/koth.cfg
+12
View File
@@ -0,0 +1,12 @@
$NetBSD: distinfo,v 1.11 2012/08/16 15:47:29 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
SHA1 (patch-ad) = 716e1860309cf6ea6879419f07fcaa11f1d4fd35
SHA1 (patch-ae) = 1474ea31b26acf6216373e1e8843836753faac2a
SHA1 (patch-af) = 2b4befee77e4bb4a8ff3aec5bec4188ce9d677c4
SHA1 (patch-src_log.h) = b519eec29454569f5eabc428af8e332833f147ae
+12
View File
@@ -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:
+ ;
}
}
}
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.3 2003/01/04 12:25:13 wiz Exp $
--- src/cfgfile.h.orig Wed Sep 1 02:52:17 1999
+++ src/cfgfile.h
@@ -37,7 +37,7 @@
#define _CFGFILE_H
#define CONFIGFILE_STUB "koth.cfg"
-#define DEFAULT_CONFIGFILE "/etc/koth/" CONFIGFILE_STUB
+#define DEFAULT_CONFIGFILE PKG_SYSCONFDIR "/" CONFIGFILE_STUB
typedef struct ConfigItem_cfg
{
+20
View File
@@ -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;
}
}
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1 2006/10/14 01:50:42 rillig Exp $
--- configure.orig 2006-10-14 03:44:05.000000000 +0200
+++ configure 2006-10-14 03:49:57.000000000 +0200
@@ -1109,7 +1109,7 @@ CFLAGS="-g -O2 -Wall -Wimplicit $USER_CF
# Check whether --enable-client or --disable-client was given.
if test "${enable_client+set}" = set; then
enableval="$enable_client"
- if test $enableval == no; then
+ if test $enableval = no; then
echo "$ac_t""Skipping libggi detection - you will only be able to build the server!" 1>&6
DO_USE_GGI=0
else
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.1 2006/10/14 01:50:42 rillig Exp $
--- configure.in.orig 2003-02-06 03:17:17.000000000 +0100
+++ configure.in 2006-10-14 03:49:24.000000000 +0200
@@ -15,7 +15,7 @@ AC_PROG_RANLIB
CFLAGS="-g -O2 -Wall -Wimplicit $USER_CFLAGS"
dnl Checks for library functions.
AC_ARG_ENABLE(client, [ --disable-client disable libggi detection (can only build server)],
- if test $enableval == no; then
+ if test $enableval = no; then
AC_MSG_RESULT([Skipping libggi detection - you will only be able to build the server!])
DO_USE_GGI=0
else
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2010/01/30 16:02:52 tnn Exp $
--- src/gfx.h.orig 2003-01-18 22:24:17.000000000 +0000
+++ src/gfx.h
@@ -20,6 +20,8 @@
#define _GFX_H_
#include <ggi/ggi.h>
+#include <inttypes.h>
+#define uint16 uint16_t
#include "player.h"
#include "terrain.h"
+12
View File
@@ -0,0 +1,12 @@
$NetBSD: patch-src_log.h,v 1.1 2012/08/10 18:03:02 joerg Exp $
--- src/log.h.orig 2012-08-10 11:56:47.000000000 +0000
+++ src/log.h
@@ -25,6 +25,6 @@ Levels_log;
extern Levels_log log_level;
-inline void logPrintf(Levels_log level, char *fmt, ...);
+void logPrintf(Levels_log level, char *fmt, ...);
#endif