[Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Aug 12, 2002 at 11:45:45PM -0700, Mike Kaufman wrote:
> to apply:
> patch -p1 < connect1.diff
> ./autogen.sh --enable-client=(whichever one you want)
With gcc 2.95.3, I need the following patch to compile:
--- common/mem.c.orig Tue Aug 13 10:33:05 2002
+++ common/mem.c Tue Aug 13 10:41:10 2002
@@ -121,8 +121,10 @@
{
if (!str) return NULL;
+ {/* block needed for declaration */
char *dest = (char *)fc_real_malloc(strlen(str)+1, called_as, line, file);
/* no need to check whether dest is non-NULL! */
strcpy(dest, str);
return dest;
+ }
}
Christian
--
Christian Knoke * * * http://www.enter.de/~c.knoke/
* * * * * * * * * Ceterum censeo Microsoft esse dividendum.
- [Freeciv-Dev] new connect dialog (ver 1) (PR#1911), Mike Kaufman, 2002/08/13
- [Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911),
Christian Knoke <=
- [Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911), Christian Knoke, 2002/08/14
- [Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911), Mike Kaufman, 2002/08/14
- [Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911), Christian Knoke, 2002/08/14
- [Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911), Christian Knoke, 2002/08/14
- [Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911), Mike Kaufman, 2002/08/14
- [Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911), Daniel Sjölie, 2002/08/15
- [Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911), Christian Knoke, 2002/08/15
|
|