From 3d248f5d00aa72d7be1bb646bdcc4b1c5755619c Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 8 Dec 2004 19:55:43 +0000 Subject: [PATCH] releasing version 2.16-5 git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10939 a4a2c43b-8ac3-0310-8836-e0e880c912e2 --- debian/changelog | 7 +++++++ hack/hack.termcap.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5560328..d9c17ef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +bsdgames (2.16-5) unstable; urgency=low + + * Apply hack patch from Andreas Jochens to support building under gcc 4.0 + which does stricter checking for static variables. Closes: #284750 + + -- Joey Hess Wed, 8 Dec 2004 14:39:12 -0500 + bsdgames (2.16-4) unstable; urgency=low * Fixed a null pointer de-reference in hunt if run on a diff --git a/hack/hack.termcap.c b/hack/hack.termcap.c index ad6a71b..2af3c75 100644 --- a/hack/hack.termcap.c +++ b/hack/hack.termcap.c @@ -77,10 +77,10 @@ __RCSID("$NetBSD: hack.termcap.c,v 1.12 2003/04/02 18:36:40 jsm Exp $"); #include "def.flag.h" /* for flags.nonull */ static char tbuf[512]; -static char *HO, *CL, *CE, *UP, *CM, *ND, *XD, *BC, *SO, *SE, *TI, *TE; +char *HO, *CL, *CE, *UP, *CM, *ND, *XD, *BC, *SO, *SE, *TI, *TE; static char *VS, *VE; static int SG; -static char PC = '\0'; +char PC = '\0'; char *CD; /* tested in pri.c: docorner() */ int CO, LI; /* used in pri.c and whatis.c */